|
| 1 | +{ |
| 2 | + "root": true, |
| 3 | + "parser": "@typescript-eslint/parser", |
| 4 | + "plugins": [ |
| 5 | + "@typescript-eslint" |
| 6 | + ], |
| 7 | + "extends": [ |
| 8 | + "eslint:recommended", |
| 9 | + "plugin:@typescript-eslint/eslint-recommended", |
| 10 | + "plugin:@typescript-eslint/recommended" |
| 11 | + ], |
| 12 | + "overrides": [ |
| 13 | + { |
| 14 | + "files": ["*.ts"], |
| 15 | + "parserOptions": { |
| 16 | + "project": ["./tsconfig.json"] |
| 17 | + } |
| 18 | + } |
| 19 | + ], |
| 20 | + "rules": { |
| 21 | + "no-console": 1, |
| 22 | + "no-debugger": 1, |
| 23 | + "curly": 2, |
| 24 | + "indent": [2, "tab"], |
| 25 | + "max-len": [1, 80], |
| 26 | + "no-empty": 1, |
| 27 | + "@typescript-eslint/no-empty-interface": 1, |
| 28 | + "no-eval": 2, |
| 29 | + "@typescript-eslint/no-misused-new": "error", |
| 30 | + "no-trailing-spaces": 2, |
| 31 | + "no-irregular-whitespace": 2, |
| 32 | + "no-use-before-define": 2, |
| 33 | + "no-var": 2, |
| 34 | + "prefer-const": 1, |
| 35 | + "quotes": [2, "single"], |
| 36 | + "radix": 2, |
| 37 | + "semi": ["error", "always"], |
| 38 | + "brace-style": 0, |
| 39 | + "@typescript-eslint/brace-style": [2, "stroustrup"], |
| 40 | + "@typescript-eslint/no-empty-function": 0, |
| 41 | + "no-prototype-builtins": 1, |
| 42 | + "no-useless-escape": 1, |
| 43 | + "no-case-declarations": 1, |
| 44 | + "@typescript-eslint/ban-types": 1, |
| 45 | + "@typescript-eslint/no-namespace": 1, |
| 46 | + "@typescript-eslint/no-var-requires": 1, |
| 47 | + "@typescript-eslint/promise-function-async": 2, |
| 48 | + "@typescript-eslint/no-floating-promises": 2 |
| 49 | + } |
| 50 | +} |
0 commit comments