|
1 | 1 | {
|
2 | 2 | "env": {
|
3 | 3 | "browser": true,
|
4 |
| - "es2021": true |
| 4 | + "es2021": true, |
5 | 5 | },
|
6 |
| - "extends": ["airbnb", "airbnb-typescript/base", "plugin:prettier/recommended", "prettier"], |
7 |
| - "plugins": ["simple-import-sort"], |
| 6 | + "extends": [ |
| 7 | + "prettier", |
| 8 | + "eslint:recommended", |
| 9 | + "plugin:prettier/recommended", |
| 10 | + "plugin:import/recommended", |
| 11 | + "plugin:@typescript-eslint/recommended", |
| 12 | + "airbnb", |
| 13 | + "airbnb-typescript/base", |
| 14 | + ], |
| 15 | + "plugins": ["prettier", "import", "@typescript-eslint"], |
8 | 16 | "parserOptions": {
|
9 | 17 | "ecmaVersion": "latest",
|
10 | 18 | "sourceType": "module",
|
11 |
| - "project": "./tsconfig.json" |
| 19 | + "project": "./tsconfig.json", |
12 | 20 | },
|
13 | 21 | "rules": {
|
| 22 | + "@typescript-eslint/indent": "off", |
14 | 23 | "@typescript-eslint/lines-between-class-members": "off",
|
15 |
| - "import/order": "off", |
| 24 | + "@typescript-eslint/no-extra-semi": "off", |
| 25 | + "@typescript-eslint/semi": "off", |
| 26 | + "import/order": [ |
| 27 | + "error", |
| 28 | + { |
| 29 | + "groups": ["builtin", "external", "internal"], |
| 30 | + "pathGroups": [ |
| 31 | + { |
| 32 | + "pattern": "classes/**", |
| 33 | + "group": "external", |
| 34 | + "position": "before", |
| 35 | + }, |
| 36 | + ], |
| 37 | + "pathGroupsExcludedImportTypes": ["classes"], |
| 38 | + "alphabetize": { |
| 39 | + "order": "asc", |
| 40 | + "caseInsensitive": true, |
| 41 | + }, |
| 42 | + }, |
| 43 | + ], |
16 | 44 | "import/prefer-default-export": "off",
|
17 | 45 | "no-bitwise": "off",
|
18 | 46 | "no-continue": "off",
|
19 | 47 | "no-param-reassign": "off",
|
20 | 48 | "no-plusplus": "off",
|
21 | 49 | "no-restricted-syntax": "off",
|
| 50 | + "operator-linebreak": "off", |
22 | 51 | "prefer-destructuring": "off",
|
23 |
| - "simple-import-sort/exports": "error", |
24 |
| - "simple-import-sort/imports": "error", |
25 |
| - "sort-imports": "off" |
26 |
| - } |
| 52 | + "semi-style": "off", |
| 53 | + }, |
27 | 54 | }
|
0 commit comments