|
1 | 1 | { |
2 | 2 | "extends": [ |
3 | 3 | "eslint:recommended", |
| 4 | + "plugin:@typescript-eslint/eslint-recommended", |
| 5 | + "plugin:@typescript-eslint/recommended", |
4 | 6 | "plugin:no-jquery/deprecated", |
5 | 7 | "plugin:compat/recommended" |
6 | 8 | ], |
7 | | - "plugins": ["no-jquery"], |
| 9 | + "parser": "@typescript-eslint/parser", |
| 10 | + "plugins": [ "@typescript-eslint", "no-jquery" ], |
8 | 11 | "parserOptions": { |
9 | 12 | "ecmaVersion": 6, |
10 | 13 | "sourceType": "module" |
|
46 | 49 | "no-trailing-spaces": "error", |
47 | 50 | "no-underscore-dangle": "error", |
48 | 51 | "no-unneeded-ternary": "error", |
| 52 | + "no-var": "off", |
49 | 53 | "object-curly-spacing": ["error", "always"], |
50 | 54 | "one-var": ["error", "never"], |
51 | 55 | "padded-blocks": ["error", "never"], |
| 56 | + "prefer-const": "off", |
| 57 | + "prefer-rest-params": "off", |
| 58 | + "prefer-spread": "off", |
52 | 59 | "quotes": ["error", "single"], |
53 | 60 | "semi": "error", |
54 | 61 | "space-before-blocks": "error", |
55 | 62 | "space-before-function-paren": "error", |
56 | 63 | "space-in-parens": "error", |
57 | 64 | "space-infix-ops": "error", |
58 | 65 | "spaced-comment": ["error", "always"], |
59 | | - "wrap-iife": "error" |
| 66 | + "wrap-iife": "error", |
| 67 | + "@typescript-eslint/ban-ts-comment": "off", |
| 68 | + "@typescript-eslint/no-empty-function": "off", |
| 69 | + "@typescript-eslint/no-unused-vars": "off", |
| 70 | + "@typescript-eslint/no-this-alias": "off" |
60 | 71 | } |
61 | 72 | } |
0 commit comments