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