|
| 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 | + "plugin:prettier/recommended" |
| 12 | + ], |
| 13 | + "rules": { |
| 14 | + "semi": "off", |
| 15 | + "@typescript-eslint/semi": ["error"], |
| 16 | + "no-shadow": "off", |
| 17 | + "@typescript-eslint/no-shadow": "error", |
| 18 | + "@typescript-eslint/no-unused-vars": "error", |
| 19 | + "no-console": 0, |
| 20 | + "no-empty": ["error", { "allowEmptyCatch": true }], |
| 21 | + "no-buffer-constructor": 0, |
| 22 | + "no-case-declarations": 0, |
| 23 | + "no-useless-escape": 0, |
| 24 | + "indent": "off", |
| 25 | + "object-curly-spacing": [ |
| 26 | + "error", |
| 27 | + "always", |
| 28 | + { |
| 29 | + "objectsInObjects": true |
| 30 | + } |
| 31 | + ], |
| 32 | + "no-undef": 0, |
| 33 | + "require-atomic-updates": 0, |
| 34 | + "no-async-promise-executor": 0, |
| 35 | + "brace-style": [2, "1tbs", { "allowSingleLine": true }], |
| 36 | + "@typescript-eslint/explicit-function-return-type": "warn", |
| 37 | + "@typescript-eslint/ban-ts-comment": "off", |
| 38 | + "@typescript-eslint/no-non-null-assertion": "off" |
| 39 | + } |
| 40 | +} |
0 commit comments