|
4 | 4 | "node": true,
|
5 | 5 | "jest": true
|
6 | 6 | },
|
7 |
| - "extends": ["eslint:recommended", "prettier", "plugin:unicorn/recommended"], |
| 7 | + "extends": ["eslint:recommended", "prettier"], |
8 | 8 | "rules": {
|
9 | 9 | "no-console": "error",
|
10 | 10 | "curly": ["error", "all"],
|
|
21 | 21 | }
|
22 | 22 | ],
|
23 | 23 | "prefer-template": "error",
|
24 |
| - "arrow-body-style": ["error", "as-needed"], |
25 |
| - |
26 |
| - "unicorn/no-null": "off", |
27 |
| - "unicorn/prevent-abbreviations": "off", |
28 |
| - "unicorn/prefer-string-slice": "off", |
29 |
| - "unicorn/prefer-code-point": "off", |
30 |
| - "unicorn/no-array-push-push": "off", |
31 |
| - "unicorn/no-for-loop": "off", |
32 |
| - "unicorn/consistent-destructuring": "off", |
33 |
| - "unicorn/prefer-switch": ["error", { "emptyDefaultCase": "do-nothing-comment" }] |
| 24 | + "arrow-body-style": ["error", "as-needed"] |
34 | 25 | },
|
35 | 26 | "parserOptions": {
|
36 | 27 | "sourceType": "module"
|
|
39 | 30 | {
|
40 | 31 | "files": "*.ts",
|
41 | 32 | "extends": [
|
| 33 | + "eslint:recommended", |
42 | 34 | "plugin:@typescript-eslint/eslint-recommended",
|
43 | 35 | "plugin:@typescript-eslint/recommended",
|
44 | 36 | "prettier"
|
|
47 | 39 | "@typescript-eslint/no-non-null-assertion": "warn",
|
48 | 40 | "@typescript-eslint/no-explicit-any": "warn",
|
49 | 41 | "@typescript-eslint/explicit-function-return-type": "error",
|
50 |
| - |
51 |
| - "@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }] |
| 42 | + "@typescript-eslint/no-unused-vars": "off" |
| 43 | + } |
| 44 | + }, |
| 45 | + { |
| 46 | + "files": "*.test.ts", |
| 47 | + "rules": { |
| 48 | + "@typescript-eslint/no-non-null-assertion": "off" |
52 | 49 | }
|
53 | 50 | }
|
54 | 51 | ]
|
|
0 commit comments