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