|
| 1 | +{ |
| 2 | + "plugins": ["@typescript-eslint", "prettier", "import"], |
| 3 | + "extends": [ |
| 4 | + "eslint:recommended", |
| 5 | + "airbnb-base", |
| 6 | + "plugin:@typescript-eslint/recommended", |
| 7 | + "plugin:@typescript-eslint/recommended-requiring-type-checking", |
| 8 | + "plugin:prettier/recommended", |
| 9 | + "prettier", |
| 10 | + "prettier/@typescript-eslint" |
| 11 | + ], |
| 12 | + "globals": { |
| 13 | + "Atomics": "readonly", |
| 14 | + "SharedArrayBuffer": "readonly" |
| 15 | + }, |
| 16 | + "parser": "@typescript-eslint/parser", |
| 17 | + "parserOptions": { |
| 18 | + "ecmaVersion": 2018, |
| 19 | + "project": "./tsconfig.json" |
| 20 | + }, |
| 21 | + "env": { |
| 22 | + "es6": true, |
| 23 | + "node": true |
| 24 | + }, |
| 25 | + "rules": { |
| 26 | + "no-console": "off", |
| 27 | + "no-debugger": "off", |
| 28 | + "arrow-parens": ["error", "as-needed"], |
| 29 | + "require-jsdoc": "off", |
| 30 | + "space-before-function-paren": "off", |
| 31 | + "comma-dangle": "off", |
| 32 | + "object-curly-spacing": "warn", |
| 33 | + "padded-blocks": "off", |
| 34 | + "camelcase": "warn", |
| 35 | + "object-property-newline": "off", |
| 36 | + "prefer-const": "warn", |
| 37 | + "import/no-absolute-path": "off", |
| 38 | + "no-prototype-builtins": "off", |
| 39 | + "indent": "warn", |
| 40 | + "quote-props": ["warn", "as-needed"], |
| 41 | + "lines-between-class-members": "off", |
| 42 | + "import/extensions": [ |
| 43 | + "error", |
| 44 | + "ignorePackages", |
| 45 | + { |
| 46 | + "js": "never", |
| 47 | + "mjs": "never", |
| 48 | + "jsx": "never", |
| 49 | + "ts": "never", |
| 50 | + "tsx": "never" |
| 51 | + } |
| 52 | + ], |
| 53 | + "no-restricted-syntax": "off", |
| 54 | + "no-await-in-loop": "warn", |
| 55 | + "no-underscore-dangle": "off", |
| 56 | + "max-classes-per-file": "off", |
| 57 | + "no-use-before-define": "off", |
| 58 | + "no-continue": "off", |
| 59 | + "@typescript-eslint/restrict-template-expressions": "off", |
| 60 | + "@typescript-eslint/no-unsafe-assignment": "warn" |
| 61 | + }, |
| 62 | + "settings": { |
| 63 | + "import/resolver": { |
| 64 | + "node": { |
| 65 | + "extensions": [".js", ".jsx", ".ts", ".tsx", ".json", ".vue"] |
| 66 | + } |
| 67 | + } |
| 68 | + } |
| 69 | +} |
0 commit comments