|
| 1 | +// eslint-disable-next-line no-undef |
| 2 | +module.exports = { |
| 3 | + root: true, |
| 4 | + extends: ["eslint:recommended"], |
| 5 | + plugins: ["@typescript-eslint"], |
| 6 | + rules: { |
| 7 | + "no-console": "error", |
| 8 | + "no-debugger": "error", |
| 9 | + "indent": ["error", 4], |
| 10 | + "max-len": ["warn", { "code": 120 }], |
| 11 | + "object-curly-spacing": ["error", "always"], |
| 12 | + "quotes": ["error", "double"], |
| 13 | + "space-before-function-paren": ["error", "never"], |
| 14 | + "no-inner-declarations": "off", |
| 15 | + "brace-style": ["error", "1tbs"], |
| 16 | + "keyword-spacing": "error", |
| 17 | + "no-async-promise-executor": "off", |
| 18 | + "require-atomic-updates": "off", |
| 19 | + "no-unused-vars": "off" |
| 20 | + }, |
| 21 | + parser: "@typescript-eslint/parser", |
| 22 | + parserOptions: { |
| 23 | + "ecmaVersion": 6, |
| 24 | + "sourceType": "module", |
| 25 | + }, |
| 26 | + env: { |
| 27 | + "browser": true, |
| 28 | + "node": true, |
| 29 | + "jest": true |
| 30 | + } |
| 31 | +} |
0 commit comments