|
10 | 10 | "plugin:@typescript-eslint/recommended", |
11 | 11 | "plugin:react/recommended", |
12 | 12 | "prettier", |
13 | | - "prettier/babel", |
14 | | - "prettier/@typescript-eslint", |
15 | | - "prettier/react", |
16 | 13 | "plugin:jest/recommended" |
17 | 14 | ], |
18 | 15 | "env": { |
|
22 | 19 | "jest": true |
23 | 20 | }, |
24 | 21 | "rules": { |
| 22 | + "arrow-body-style": 0, |
25 | 23 | "class-methods-use-this": 0, |
26 | 24 | "consistent-return": "warn", |
27 | 25 | "@typescript-eslint/generic-spacing": 0, |
| 26 | + "@typescript-eslint/space-after-type-colon": 0, |
28 | 27 | "jsx-a11y/alt-text": 0, |
29 | 28 | "lines-between-class-members": 0, |
30 | 29 | "global-require": 0, |
|
60 | 59 | "react/destructuring-assignment": 0, |
61 | 60 | "react/display-name": 0, |
62 | 61 | "react/jsx-curly-brace-presence": 0, |
| 62 | + "react/jsx-curly-newline": 0, |
63 | 63 | "react/jsx-filename-extension": 0, |
64 | 64 | "react/jsx-fragments": 0, |
65 | 65 | "react/jsx-no-bind": "warn", |
|
76 | 76 | "@typescript-eslint/no-empty-function": 1, |
77 | 77 | "@typescript-eslint/ban-types": 1, |
78 | 78 | "import/no-unresolved": 1, |
79 | | - "@typescript-eslint/no-var-requires": 1, |
| 79 | + "@typescript-eslint/no-var-requires": 0, |
80 | 80 | "camelcase": 1, |
81 | 81 | "no-empty": 1, |
82 | 82 | "@typescript-eslint/no-explicit-any": 1, |
83 | 83 | "no-shadow": 1, |
84 | 84 | "react/no-did-update-set-state": 1, |
85 | 85 | "react/sort-comp": 0, |
86 | 86 | "react/state-in-constructor": 0, |
87 | | - "react/static-property-placement": 0 |
| 87 | + "react/static-property-placement": 0, |
| 88 | + "react/jsx-no-useless-fragment": 0, |
| 89 | + "prefer-regex-literals": 0, |
| 90 | + "no-unused-vars": "warn", |
| 91 | + "react/no-unused-class-component-methods": "warn", |
| 92 | + "react/no-unstable-nested-components": "warn", |
| 93 | + "no-promise-executor-return": "warn", |
| 94 | + "default-param-last": "warn" |
88 | 95 | }, |
89 | 96 | "plugins": ["@typescript-eslint", "import", "promise", "react", "jest"], |
90 | 97 | "globals": { |
91 | 98 | "API": true, |
92 | 99 | "API_VERSION": true, |
93 | 100 | "NETWORK": true, |
94 | | - "MOBX_DEV_TOOLS": true, |
95 | 101 | "BUILD_NUMBER": true, |
96 | 102 | "Process": true // TODO: remove after fix |
97 | 103 | }, |
|
0 commit comments