Skip to content

Commit

Permalink
fix(helloworld-sample): Reported ESLint config errors (#1141)
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Jelinek <[email protected]>
  • Loading branch information
djelinek authored Feb 20, 2024
1 parent f6298da commit ab71ebe
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -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"
],
Expand Down Expand Up @@ -46,4 +42,4 @@ module.exports = {
"ignorePatterns": [
"src/ui-test/resources/*"
]
};
}
12 changes: 11 additions & 1 deletion sample-projects/helloworld-sample/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}

0 comments on commit ab71ebe

Please sign in to comment.