Skip to content

Commit

Permalink
Update to eslint v9.9.1
Browse files Browse the repository at this point in the history
* Keeping .eslintrc.json
  • Loading branch information
tja4472 committed Aug 31, 2024
1 parent 7836f19 commit f9b203b
Show file tree
Hide file tree
Showing 4 changed files with 548 additions and 1,758 deletions.
16 changes: 15 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
"files": ["*.ts"],
"parserOptions": { "project": true },
"plugins": [
/* TODO: Reinstate when compatible with eslint 9
"eslint-plugin-import": "2.29.1",
"eslint-plugin-import",
*/
"@angular-eslint/eslint-plugin",
"@typescript-eslint"
],
Expand Down Expand Up @@ -73,15 +76,26 @@
"env": {
"jest/globals": true
},
"plugins": ["jest", "jest-dom", "testing-library"],
"plugins": [
"jest",
"jest-dom"
/* TODO: Reinstate when compatible with eslint 9
"testing-library"
"eslint-plugin-testing-library": "6.3.0",
*/
],
"extends": [
/* TODO: Reinstate when compatible with eslint 9
"plugin:testing-library/angular",
*/
"plugin:jest/recommended",
"plugin:jest/style",
"plugin:jest-dom/recommended"
],
"rules": {
/* TODO: Reinstate when compatible with eslint 9
"testing-library/prefer-explicit-assert": "error",
*/
"jest/consistent-test-it": ["error"],
"jest/expect-expect": "off"
}
Expand Down
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"editor.tabSize": 2,
"editor.detectIndentation": false
"editor.detectIndentation": false,
"eslint.debug": false,
"eslint.useFlatConfig": false
}
Loading

0 comments on commit f9b203b

Please sign in to comment.