|
5 | 5 | "plugin:jest/recommended", |
6 | 6 | "plugin:@typescript-eslint/recommended" |
7 | 7 | ], |
8 | | - "globals": { |
9 | | - "document": true |
10 | | - }, |
11 | 8 | "parser": "@typescript-eslint/parser", |
12 | 9 | "rules": { |
13 | 10 | // TS configuration for the `indent` rule. |
14 | 11 | // https://github.com/typescript-eslint/typescript-eslint/blob/5b0b3d9edbcb3ab588a34c431037d9deece30824/packages/eslint-plugin/docs/rules/indent.md#options |
15 | 12 | "indent": "off", |
16 | 13 | "@typescript-eslint/indent": ["error", 2], |
17 | 14 | "import/no-extraneous-dependencies": ["error", { |
18 | | - "devDependencies": ["**/*.test.*"] |
| 15 | + "devDependencies": ["**/*.test.*", "**/*.spec.*"] |
19 | 16 | } |
20 | 17 | ], |
21 | 18 | // We use `.tsx` instead of `.jsx` for files with JSX inside. |
|
25 | 22 | ], |
26 | 23 | // We decided to prefer types over interfaces. |
27 | 24 | "@typescript-eslint/prefer-interface": "off", |
28 | | - "@typescript-eslint/explicit-member-accessibility": "off" |
| 25 | + "@typescript-eslint/explicit-member-accessibility": "off", |
| 26 | + // This rule conflicts with our convention. |
| 27 | + "jest/valid-describe": "off", |
| 28 | + // These rules are not compatible with Prettier. |
| 29 | + "implicit-arrow-linebreak": "off", |
| 30 | + "no-mixed-operators": "off", |
| 31 | + "operator-linebreak": "off", |
| 32 | + "react/jsx-one-expression-per-line": "off" |
29 | 33 | }, |
30 | 34 | "settings": { |
31 | 35 | "import/resolver": { |
|
0 commit comments