|
| 1 | +{ |
| 2 | + "root": true, /* Don't read chromium's eslint config (https://eslint.org/docs/user-guide/configuring/configuration-files#cascading-and-hierarchy) */ |
| 3 | + "extends": "standard-with-typescript", |
| 4 | + "ignorePatterns": ["*.js", "*.d.ts"], |
| 5 | + "env": { |
| 6 | + "browser": false, |
| 7 | + "node": true, |
| 8 | + "es6": true, |
| 9 | + "jest/globals": true |
| 10 | + }, |
| 11 | + "plugins": ["jest"], |
| 12 | + "globals": { |
| 13 | + "chrome": "readonly" |
| 14 | + }, |
| 15 | + "parserOptions": { |
| 16 | + "project": "./tsconfig-lint.json" |
| 17 | + }, |
| 18 | + "rules": { |
| 19 | + "quote-props": ["error", "consistent"], |
| 20 | + "@typescript-eslint/indent": 0, |
| 21 | + "@typescript-eslint/no-useless-constructor": 0, |
| 22 | + "@typescript-eslint/explicit-function-return-type": 0, |
| 23 | + "import/first": 0, |
| 24 | + "@typescript-eslint/no-var-requires": 0, |
| 25 | + "consistent-type-definitions": 0, |
| 26 | + "@typescript-eslint/strict-boolean-expressions": 0, |
| 27 | + "@typescript-eslint/restrict-template-expressions": 0, |
| 28 | + "@typescript-eslint/restrict-plus-operands": 0, |
| 29 | + "@typescript-eslint/prefer-optional-chain": 0, |
| 30 | + "@typescript-eslint/prefer-nullish-coalescing": 0, |
| 31 | + "@typescript-eslint/no-misused-promises": 0, |
| 32 | + "no-mixed-operators": 0, |
| 33 | + "no-prototype-builtins": 0, |
| 34 | + "@typescript-eslint/promise-function-async": 0, |
| 35 | + "no-case-declarations": 0, |
| 36 | + "@typescript-eslint/no-dynamic-delete": 0, |
| 37 | + "@typescript-eslint/no-empty-interface": 0, |
| 38 | + "no-useless-escape": 0, |
| 39 | + "no-return-assign": 0, |
| 40 | + "no-async-promise-executor": 0, |
| 41 | + "no-fallthrough": 0, |
| 42 | + "array-callback-return": 0, |
| 43 | + "prefer-promise-reject-errors": 0, |
| 44 | + "@typescript-eslint/no-floating-promises": 0, |
| 45 | + "@typescript-eslint/no-base-to-string": 0, |
| 46 | + "prefer-regex-literals": 0, |
| 47 | + "@typescript-eslint/no-implied-eval": 0, |
| 48 | + "@typescript-eslint/no-namespace": 0, |
| 49 | + "@typescript-eslint/require-array-sort-compare": 0, |
| 50 | + "no-loss-of-precision": 0, |
| 51 | + "@typescript-eslint/no-this-alias": 0, |
| 52 | + "@typescript-eslint/no-redeclare": 0, |
| 53 | + "no-unsafe-negation": 0, |
| 54 | + "promise/param-names": 0, |
| 55 | + "node/no-callback-literal": 0, |
| 56 | + "@typescript-eslint/consistent-type-definitions": 0, |
| 57 | + "multiline-ternary": 0, |
| 58 | + "@typescript-eslint/prefer-readonly": 0, |
| 59 | + /* TODO(nullhook): ENABLE the below rules in the future */ |
| 60 | + "no-useless-call": 0, |
| 61 | + "@typescript-eslint/consistent-type-assertions": 0, |
| 62 | + "@typescript-eslint/no-non-null-assertion": 0, |
| 63 | + "@typescript-eslint/no-invalid-void-type": 0, |
| 64 | + "prefer-const": 0, |
| 65 | + "@typescript-eslint/return-await": 0 |
| 66 | + } |
| 67 | +} |
0 commit comments