|
1 | 1 | {
|
| 2 | + "root": true, |
| 3 | + "parser": "@typescript-eslint/parser", |
2 | 4 | "env": {
|
3 |
| - "es2020": true, |
4 | 5 | "node": true
|
5 | 6 | },
|
6 |
| - "extends": [ |
7 |
| - "airbnb-typescript/base" |
8 |
| - ], |
9 |
| - "parser": "@typescript-eslint/parser", |
10 |
| - "parserOptions": { |
11 |
| - "project": "./tsconfig.json" |
12 |
| - }, |
13 |
| - "plugins": [ |
14 |
| - "@typescript-eslint", |
15 |
| - "typescript-sort-keys", |
16 |
| - "sort-keys-fix", |
17 |
| - "unused-imports" |
18 |
| - ], |
19 |
| - "root": true, |
20 |
| - "overrides": [ |
21 |
| - { |
22 |
| - "files": "docs/api/compiler.ts", |
23 |
| - "rules": { |
24 |
| - "no-console": "off" |
25 |
| - } |
26 |
| - } |
27 |
| - ], |
| 7 | + "plugins": ["@typescript-eslint", "typescript-sort-keys", "sort-keys-fix", "unused-imports", "prettier"], |
| 8 | + "extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:typescript-sort-keys/recommended"], |
28 | 9 | "rules": {
|
29 |
| - "@typescript-eslint/no-use-before-define": "off", |
30 |
| - "guard-for-in": "off", |
31 |
| - "import/no-cycle": "off", |
32 |
| - "import/no-default-export": "error", |
33 |
| - "import/order": ["warn", {"alphabetize": {"order": "asc", "caseInsensitive": true}}], |
34 |
| - "import/prefer-default-export": "off", |
35 |
| - "max-classes-per-file": "off", |
36 |
| - "max-len": "off", |
37 |
| - "newline-after-var": "warn", |
38 |
| - "newline-before-return": "warn", |
39 |
| - "no-console": "warn", |
40 |
| - "no-multiple-empty-lines": ["warn", {"max": 1, "maxBOF": 0, "maxEOF": 0}], |
41 |
| - "no-param-reassign": "off", |
42 |
| - "no-restricted-syntax": "off", |
43 |
| - "padding-line-between-statements": ["warn", {"blankLine": "never", "prev": "import", "next": "import"}], |
44 |
| - "sort-keys-fix/sort-keys-fix": ["warn", "asc", {"caseSensitive": true, "natural": false}], |
45 |
| - "typescript-sort-keys/interface": "warn", |
46 |
| - "unused-imports/no-unused-imports-ts": "warn", |
47 |
| - "unused-imports/no-unused-vars-ts": "warn" |
| 10 | + "@typescript-eslint/no-explicit-any": "off", |
| 11 | + "unused-imports/no-unused-imports": "warn", |
| 12 | + "unused-imports/no-unused-vars": "warn" |
48 | 13 | }
|
49 | 14 | }
|
0 commit comments