diff --git a/sample-projects/helloworld-sample/.eslintrc.js b/sample-projects/helloworld-sample/.eslintrc.json similarity index 90% rename from sample-projects/helloworld-sample/.eslintrc.js rename to sample-projects/helloworld-sample/.eslintrc.json index 81b458806..7ec534ddd 100644 --- a/sample-projects/helloworld-sample/.eslintrc.js +++ b/sample-projects/helloworld-sample/.eslintrc.json @@ -1,14 +1,10 @@ -module.exports = { +{ "env": { "browser": true, "es6": true, "node": true }, "parser": "@typescript-eslint/parser", - "parserOptions": { - "project": "tsconfig.json", - "sourceType": "module" - }, "plugins": [ "@typescript-eslint" ], @@ -46,4 +42,4 @@ module.exports = { "ignorePatterns": [ "src/ui-test/resources/*" ] -}; +} diff --git a/sample-projects/helloworld-sample/tsconfig.json b/sample-projects/helloworld-sample/tsconfig.json index bbf7f2d29..5cadaba9a 100644 --- a/sample-projects/helloworld-sample/tsconfig.json +++ b/sample-projects/helloworld-sample/tsconfig.json @@ -8,5 +8,15 @@ "rootDir": "src", "resolveJsonModule": true, }, - "exclude": [ "node_modules", ".vscode-test", "test-resources", "src/ui-test/resources/**", ".test-extensions" ] + "exclude": [ + "node_modules", + ".vscode-test", + "test-resources", + "src/ui-test/resources/**", + ".test-extensions" + ], + "include": [ + "src", + ".eslintrc.json" + ] }