|
| 1 | +{ |
| 2 | + "parser": "@typescript-eslint/parser", |
| 3 | + "parserOptions": { |
| 4 | + "warnOnUnsupportedTypeScriptVersion": false, |
| 5 | + "ecmaVersion": 6, |
| 6 | + "sourceType": "module", |
| 7 | + "project": "./src/tsconfig-base.json" |
| 8 | + }, |
| 9 | + "env": { |
| 10 | + "browser": false, |
| 11 | + "node": true, |
| 12 | + "es6": true |
| 13 | + }, |
| 14 | + "plugins": [ |
| 15 | + "@typescript-eslint", "microsoft-typescript" |
| 16 | + ], |
| 17 | + "rules": { |
| 18 | + "@typescript-eslint/adjacent-overload-signatures": "off", |
| 19 | + "@typescript-eslint/array-type": "off", |
| 20 | + "@typescript-eslint/ban-types": "off", |
| 21 | + "camelcase": "off", |
| 22 | + "@typescript-eslint/camelcase": "off", |
| 23 | + "@typescript-eslint/class-name-casing": "off", |
| 24 | + "@typescript-eslint/explicit-member-accessibility": "off", |
| 25 | + "@typescript-eslint/import/order": "off", |
| 26 | + "indent": "off", |
| 27 | + "@typescript-eslint/indent": "off", |
| 28 | + "@typescript-eslint/interface-name-prefix": "off", |
| 29 | + "@typescript-eslint/member-ordering": "off", |
| 30 | + "@typescript-eslint/no-angle-bracket-type-assertion": "off", |
| 31 | + "@typescript-eslint/no-empty-interface": "off", |
| 32 | + "@typescript-eslint/no-explicit-any": "off", |
| 33 | + "@typescript-eslint/no-inferrable-types": "off", |
| 34 | + "@typescript-eslint/no-misused-new": "error", |
| 35 | + "@typescript-eslint/no-namespace": "off", |
| 36 | + "@typescript-eslint/no-object-literal-type-assertion": "off", |
| 37 | + "@typescript-eslint/no-parameter-properties": "off", |
| 38 | + "@typescript-eslint/no-this-alias": "off", |
| 39 | + "@typescript-eslint/no-triple-slash-reference": "off", |
| 40 | + "@typescript-eslint/no-unnecessary-qualifier": "off", |
| 41 | + "@typescript-eslint/no-unnecessary-type-assertion": "off", |
| 42 | + "@typescript-eslint/no-use-before-define": "off", |
| 43 | + "@typescript-eslint/no-var-requires": "off", |
| 44 | + "@typescript-eslint/prefer-for-of": "error", |
| 45 | + "@typescript-eslint/prefer-function-type": "off", |
| 46 | + "@typescript-eslint/prefer-interface": "off", |
| 47 | + "@typescript-eslint/prefer-namespace-keyword": "off", |
| 48 | + "semi": "off", |
| 49 | + "@typescript-eslint/semi": "off", |
| 50 | + "@typescript-eslint/type-annotation-spacing": "off", |
| 51 | + "@typescript-eslint/unified-signatures": "off", |
| 52 | + |
| 53 | + "microsoft-typescript/object-literal-surrounding-space": "off", |
| 54 | + "microsoft-typescript/no-type-assertion-whitespace": "error", |
| 55 | + "microsoft-typescript/type-operator-spacing": "off", |
| 56 | + "microsoft-typescript/only-arrow-functions": "off", |
| 57 | + "microsoft-typescript/no-double-space": "off", |
| 58 | + "microsoft-typescript/boolean-trivia": "off", |
| 59 | + "microsoft-typescript/no-in-operator": "off", |
| 60 | + "microsoft-typescript/debug-assert": "off", |
| 61 | + "microsoft-typescript/no-keywords": "off", |
| 62 | + |
| 63 | + "arrow-body-style": "off", |
| 64 | + "arrow-parens": "off", |
| 65 | + "brace-style": "off", |
| 66 | + "comma-dangle": "off", |
| 67 | + "complexity": "off", |
| 68 | + "constructor-super": "error", |
| 69 | + "curly": ["error", "multi-line"], |
| 70 | + "dot-notation": "off", |
| 71 | + "eol-last": "off", |
| 72 | + "eqeqeq": "error", |
| 73 | + "guard-for-in": "off", |
| 74 | + "linebreak-style": "off", |
| 75 | + "max-classes-per-file": "off", |
| 76 | + "max-len": "off", |
| 77 | + "new-parens": "error", |
| 78 | + "no-bitwise": "off", |
| 79 | + "no-caller": "error", |
| 80 | + "no-cond-assign": "off", |
| 81 | + "no-console": "off", |
| 82 | + "no-debugger": "off", |
| 83 | + "no-duplicate-case": "error", |
| 84 | + "no-duplicate-imports": "error", |
| 85 | + "no-empty": "off", |
| 86 | + "no-eval": "off", |
| 87 | + "no-extra-bind": "error", |
| 88 | + "no-fallthrough": "off", |
| 89 | + "no-invalid-this": "off", |
| 90 | + "no-multiple-empty-lines": "off", |
| 91 | + "no-new-func": "off", |
| 92 | + "no-new-wrappers": "error", |
| 93 | + "no-redeclare": "off", |
| 94 | + "no-return-await": "error", |
| 95 | + "no-restricted-globals": "off", |
| 96 | + "no-sequences": "off", |
| 97 | + "no-shadow": "off", |
| 98 | + "no-sparse-arrays": "error", |
| 99 | + "no-template-curly-in-string": "off", |
| 100 | + "no-throw-literal": "off", |
| 101 | + "no-trailing-spaces": "off", |
| 102 | + "no-undef-init": "error", |
| 103 | + "no-unsafe-finally": "error", |
| 104 | + "no-unused-expressions": "off", |
| 105 | + "no-unused-labels": "error", |
| 106 | + "no-var": "off", |
| 107 | + "object-shorthand": "off", |
| 108 | + "one-var": "off", |
| 109 | + "prefer-const": "off", |
| 110 | + "prefer-object-spread": "error", |
| 111 | + "quote-props": ["error", "consistent-as-needed"], |
| 112 | + "quotes": "off", |
| 113 | + "radix": "off", |
| 114 | + "sort-keys": "off", |
| 115 | + "space-before-function-paren": "off", |
| 116 | + "space-in-parens": "off", |
| 117 | + "unicode-bom": ["error", "never"], |
| 118 | + "use-isnan": "error", |
| 119 | + "valid-typeof": "off" |
| 120 | + } |
| 121 | +} |
0 commit comments