|
1 | 1 | {
|
2 |
| - "plugins": ["jest", "@typescript-eslint", "prettier"], |
| 2 | + "env": { |
| 3 | + "node": true, |
| 4 | + "es6": true, |
| 5 | + "jest": true |
| 6 | + }, |
3 | 7 | "extends": [
|
4 | 8 | "eslint:recommended",
|
| 9 | + "plugin:@typescript-eslint/eslint-recommended", |
5 | 10 | "plugin:@typescript-eslint/recommended",
|
| 11 | + "plugin:import/errors", |
| 12 | + "plugin:import/typescript", |
| 13 | + "plugin:import/warnings", |
6 | 14 | "plugin:jest/recommended",
|
7 | 15 | "plugin:prettier/recommended"
|
8 | 16 | ],
|
9 | 17 | "parser": "@typescript-eslint/parser",
|
10 | 18 | "parserOptions": {
|
11 |
| - "ecmaVersion": 9, |
12 |
| - "sourceType": "module", |
13 |
| - "project": "./tsconfig.json" |
| 19 | + "ecmaVersion": 2023, |
| 20 | + "sourceType": "module" |
14 | 21 | },
|
| 22 | + "plugins": [ |
| 23 | + "@typescript-eslint", |
| 24 | + "jest", |
| 25 | + "prettier" |
| 26 | + ], |
15 | 27 | "rules": {
|
16 |
| - "i18n-text/no-en": "off", |
17 |
| - "eslint-comments/no-use": "off", |
18 |
| - "import/no-namespace": "off", |
19 |
| - "no-unused-vars": "off", |
20 |
| - "@typescript-eslint/no-unused-vars": "error", |
21 |
| - "@typescript-eslint/explicit-member-accessibility": ["error", {"accessibility": "no-public"}], |
22 |
| - "@typescript-eslint/no-require-imports": "error", |
23 |
| - "@typescript-eslint/array-type": "error", |
24 |
| - "@typescript-eslint/await-thenable": "error", |
25 |
| - "@typescript-eslint/ban-ts-comment": "error", |
26 |
| - "camelcase": "off", |
27 |
| - "@typescript-eslint/consistent-type-assertions": "error", |
28 |
| - "@typescript-eslint/explicit-function-return-type": ["error", {"allowExpressions": true}], |
29 |
| - "@typescript-eslint/func-call-spacing": ["error", "never"], |
30 |
| - "@typescript-eslint/no-array-constructor": "error", |
31 |
| - "@typescript-eslint/no-empty-interface": "error", |
32 |
| - "@typescript-eslint/no-explicit-any": "error", |
33 |
| - "@typescript-eslint/no-extraneous-class": "error", |
34 |
| - "@typescript-eslint/no-for-in-array": "error", |
35 |
| - "@typescript-eslint/no-inferrable-types": "error", |
36 |
| - "@typescript-eslint/no-misused-new": "error", |
37 |
| - "@typescript-eslint/no-namespace": "error", |
38 |
| - "@typescript-eslint/no-non-null-assertion": "warn", |
39 |
| - "@typescript-eslint/no-unnecessary-qualifier": "error", |
40 |
| - "@typescript-eslint/no-unnecessary-type-assertion": "error", |
41 |
| - "@typescript-eslint/no-useless-constructor": "error", |
42 |
| - "@typescript-eslint/no-var-requires": "error", |
43 |
| - "@typescript-eslint/prefer-for-of": "warn", |
44 |
| - "@typescript-eslint/prefer-function-type": "warn", |
45 |
| - "@typescript-eslint/prefer-includes": "error", |
46 |
| - "@typescript-eslint/prefer-string-starts-ends-with": "error", |
47 |
| - "@typescript-eslint/promise-function-async": "error", |
48 |
| - "@typescript-eslint/require-array-sort-compare": "error", |
49 |
| - "@typescript-eslint/restrict-plus-operands": "error", |
50 |
| - "semi": "off", |
51 |
| - "@typescript-eslint/semi": ["error", "never"], |
52 |
| - "@typescript-eslint/type-annotation-spacing": "error", |
53 |
| - "@typescript-eslint/unbound-method": "error" |
54 |
| - }, |
55 |
| - "env": { |
56 |
| - "node": true, |
57 |
| - "es2022": true, |
58 |
| - "jest/globals": true |
| 28 | + "import/no-unresolved": [ |
| 29 | + "error", |
| 30 | + { |
| 31 | + "ignore": [ |
| 32 | + "csv-parse/sync", |
| 33 | + "@octokit/openapi-types" |
| 34 | + ] |
| 35 | + } |
| 36 | + ], |
| 37 | + "jest/no-disabled-tests": 0 |
59 | 38 | }
|
60 | 39 | }
|
0 commit comments