|
3 | 3 | "extends": [ |
4 | 4 | "eslint:recommended", |
5 | 5 | "plugin:jsdoc/recommended", |
6 | | - "plugin:flowtype/recommended" |
| 6 | + "plugin:@typescript-eslint/recommended" |
7 | 7 | ], |
8 | 8 | "env": { |
9 | 9 | "node": true, |
10 | 10 | "es6": true |
11 | 11 | }, |
12 | | - "parser": "@babel/eslint-parser", |
| 12 | + "parser": "@typescript-eslint/parser", |
13 | 13 | "globals": { |
14 | 14 | "wx": true |
15 | 15 | }, |
16 | 16 | "plugins": [ |
17 | | - "flowtype", |
18 | | - "jsdoc" |
| 17 | + "jsdoc", |
| 18 | + "@typescript-eslint" |
19 | 19 | ], |
20 | 20 | "parserOptions": { |
21 | 21 | "ecmaVersion": 6, |
|
36 | 36 | "no-console": 0, |
37 | 37 | "no-prototype-builtins": "off", |
38 | 38 | "require-atomic-updates": "off", |
39 | | - "flowtype/no-types-missing-file-annotation": 0, |
| 39 | + "prefer-spread": "off", |
| 40 | + "prefer-rest-params": "off", |
| 41 | + "@typescript-eslint/ban-ts-comment": "off", |
| 42 | + "@typescript-eslint/triple-slash-reference": "off", |
| 43 | + "@typescript-eslint/no-empty-function": "off", |
| 44 | + "@typescript-eslint/no-explicit-any": "off", |
| 45 | + "@typescript-eslint/no-var-requires": "off", |
| 46 | + "@typescript-eslint/no-non-null-assertion": "off", |
40 | 47 | "jsdoc/require-jsdoc": 0, |
41 | 48 | "jsdoc/require-returns-description": 0, |
42 | 49 | "jsdoc/require-param-description": 0, |
|
49 | 56 | "allowExtraTrailingParamDocs": true |
50 | 57 | } |
51 | 58 | ], |
52 | | - "jsdoc/check-tag-names": [ |
53 | | - "error", |
54 | | - { |
55 | | - "definedTags": [ |
56 | | - "flow", |
57 | | - "flow-weak" |
58 | | - ] |
59 | | - } |
60 | | - ], |
61 | 59 | "jsdoc/no-undefined-types": [ |
62 | 60 | "error", |
63 | 61 | { |
|
0 commit comments