|
108 | 108 | "promise/always-return": "error", |
109 | 109 | "promise/no-callback-in-promise": "error", |
110 | 110 | "react-hooks/rules-of-hooks": "error", |
| 111 | + "react/button-has-type": "error", |
111 | 112 | "react/forward-ref-uses-ref": "error", |
112 | 113 | "react/jsx-boolean-value": ["error"], |
113 | 114 | "react/jsx-curly-brace-presence": ["error"], |
|
125 | 126 | "react/no-did-mount-set-state": "error", |
126 | 127 | "react/no-direct-mutation-state": "error", |
127 | 128 | "react/no-redundant-should-component-update": "error", |
| 129 | + "react/no-string-refs": "error", |
128 | 130 | "react/no-this-in-sfc": "error", |
129 | 131 | "react/no-unknown-property": "error", |
130 | 132 | "react/no-unescaped-entities": "error", |
131 | 133 | "react/no-will-update-set-state": "error", |
132 | 134 | "react/self-closing-comp": "error", |
| 135 | + "react/style-prop-object": "error", |
133 | 136 | "typescript/await-thenable": "error", |
134 | 137 | "typescript/ban-ts-comment": [ |
135 | 138 | "error", |
136 | 139 | { |
137 | 140 | "minimumDescriptionLength": 3, |
138 | | - "ts-check": false, |
139 | 141 | "ts-expect-error": "allow-with-description", |
| 142 | + "ts-check": false, |
140 | 143 | "ts-ignore": true, |
141 | 144 | "ts-nocheck": true |
142 | 145 | } |
|
148 | 151 | } |
149 | 152 | ], |
150 | 153 | "typescript/no-confusing-non-null-assertion": "error", |
| 154 | + "typescript/no-confusing-void-expression": [ |
| 155 | + "error", |
| 156 | + { |
| 157 | + "ignoreArrowShorthand": true |
| 158 | + } |
| 159 | + ], |
151 | 160 | "typescript/no-extra-non-null-assertion": "error", |
152 | 161 | "typescript/no-misused-promises": [ |
153 | 162 | "error", |
|
0 commit comments