|
1 | 1 | { |
2 | | - "parser": "babel-eslint", |
| 2 | + "parser": "@typescript-eslint/parser", |
3 | 3 | "env": { |
4 | 4 | "browser": true, |
5 | 5 | "es2021": true, |
|
10 | 10 | "sourceType": "module", |
11 | 11 | "allowImportExportEverywhere": true |
12 | 12 | }, |
13 | | - "extends": "airbnb-base", |
| 13 | + "extends": [ |
| 14 | + "eslint:recommended", |
| 15 | + "plugin:@typescript-eslint/eslint-recommended", |
| 16 | + "plugin:@typescript-eslint/recommended" |
| 17 | + ], |
14 | 18 | "plugins": [ |
15 | | - "import" |
| 19 | + "@typescript-eslint" |
16 | 20 | ], |
17 | 21 | "rules": { |
18 | 22 | "arrow-body-style": ["error", "always"], |
19 | 23 | "class-methods-use-this": "off", |
20 | 24 | "func-names": "off", |
21 | 25 | "max-len": ["error", { |
22 | | - "code": 100, |
| 26 | + "code": 120, |
23 | 27 | "ignoreComments": true |
24 | 28 | }], |
25 | 29 | "prefer-template": "off", |
| 30 | + "no-await-in-loop": "off", |
26 | 31 | "no-console": "off", |
27 | 32 | "no-control-regex": "off", |
28 | 33 | "no-new-func": "off", |
|
32 | 37 | "no-underscore-dangle": "off", |
33 | 38 | "no-undef": "off", |
34 | 39 | "no-useless-escape": "off", |
35 | | - "import/no-unresolved": ["error", { "ignore": ["^meteor/"] }], |
36 | 40 | "import/extensions": "off", |
37 | 41 | "import/no-extraneous-dependencies": "off", |
38 | | - "import/prefer-default-export": "off" |
| 42 | + "import/prefer-default-export": "off", |
| 43 | + "@typescript-eslint/no-explicit-any": "off", |
| 44 | + "@typescript-eslint/ban-ts-comment": "off" |
39 | 45 | } |
40 | 46 | } |
0 commit comments