|
33 | 33 | "error", |
34 | 34 | { |
35 | 35 | "vars": "all", |
36 | | - "args": "none", |
37 | 36 | "ignoreRestSiblings": true, |
38 | 37 | "caughtErrors": "all", |
39 | 38 | "caughtErrorsIgnorePattern": "^_" |
|
77 | 76 | "jsx-a11y/anchor-has-content": "error", |
78 | 77 | "jsx-a11y/anchor-is-valid": "error", |
79 | 78 | "jsx-a11y/aria-props": "error", |
| 79 | + "jsx-a11y/aria-role": "error", |
80 | 80 | "jsx-a11y/heading-has-content": "error", |
| 81 | + "jsx-a11y/html-has-lang": "error", |
81 | 82 | "jsx-a11y/img-redundant-alt": "error", |
82 | 83 | "jsx-a11y/label-has-associated-control": "error", |
| 84 | + "jsx-a11y/no-aria-hidden-on-focusable": "error", |
83 | 85 | "jsx-a11y/no-noninteractive-tabindex": "error", |
84 | 86 | "jsx-a11y/no-redundant-roles": "error", |
85 | 87 | "jsx-a11y/prefer-tag-over-role": "off", |
|
107 | 109 | "nextjs/no-unwanted-polyfillio": "error", |
108 | 110 | "promise/always-return": "error", |
109 | 111 | "promise/no-callback-in-promise": "error", |
110 | | - "react-hooks/rules-of-hooks": "error", |
111 | | - "react/button-has-type": "error", |
| 112 | + "react/exhaustive-deps": "error", |
112 | 113 | "react/forward-ref-uses-ref": "error", |
113 | 114 | "react/jsx-boolean-value": ["error"], |
114 | 115 | "react/jsx-curly-brace-presence": ["error"], |
|
123 | 124 | ], |
124 | 125 | "react/jsx-no-duplicate-props": "error", |
125 | 126 | "react/jsx-no-undef": "error", |
| 127 | + "react/jsx-no-useless-fragment": "error", |
| 128 | + "react/no-array-index-key": "error", |
126 | 129 | "react/no-did-mount-set-state": "error", |
127 | 130 | "react/no-direct-mutation-state": "error", |
128 | 131 | "react/no-redundant-should-component-update": "error", |
| 132 | + "react/no-render-return-value": "error", |
129 | 133 | "react/no-string-refs": "error", |
130 | 134 | "react/no-this-in-sfc": "error", |
131 | 135 | "react/no-unknown-property": "error", |
132 | 136 | "react/no-unescaped-entities": "error", |
133 | 137 | "react/no-will-update-set-state": "error", |
| 138 | + "react/rules-of-hooks": "error", |
134 | 139 | "react/self-closing-comp": "error", |
135 | | - "react/style-prop-object": "error", |
| 140 | + "react/void-dom-elements-no-children": "error", |
136 | 141 | "typescript/await-thenable": "error", |
137 | 142 | "typescript/ban-ts-comment": [ |
138 | 143 | "error", |
139 | 144 | { |
140 | 145 | "minimumDescriptionLength": 3, |
141 | | - "ts-expect-error": "allow-with-description", |
142 | 146 | "ts-check": false, |
| 147 | + "ts-expect-error": "allow-with-description", |
143 | 148 | "ts-ignore": true, |
144 | 149 | "ts-nocheck": true |
145 | 150 | } |
|
151 | 156 | "fixStyle": "inline-type-imports" |
152 | 157 | } |
153 | 158 | ], |
| 159 | + "typescript/no-array-delete": "error", |
154 | 160 | "typescript/no-confusing-non-null-assertion": "error", |
155 | 161 | "typescript/no-confusing-void-expression": [ |
156 | 162 | "error", |
157 | 163 | { |
158 | 164 | "ignoreArrowShorthand": true |
159 | 165 | } |
160 | 166 | ], |
| 167 | + "typescript/no-duplicate-type-constituents": "error", |
161 | 168 | "typescript/no-extra-non-null-assertion": "error", |
| 169 | + "typescript/no-floating-promises": "error", |
| 170 | + "typescript/no-for-in-array": "error", |
| 171 | + "typescript/no-inferrable-types": "error", |
| 172 | + "typescript/no-meaningless-void-operator": "error", |
162 | 173 | "typescript/no-misused-promises": [ |
163 | 174 | "error", |
164 | 175 | { |
|
167 | 178 | ], |
168 | 179 | "typescript/no-restricted-types": "error", |
169 | 180 | "typescript/no-unnecessary-boolean-literal-compare": "error", |
| 181 | + "typescript/no-unnecessary-parameter-property-assignment": "error", |
170 | 182 | "typescript/no-unnecessary-type-arguments": "error", |
171 | 183 | "typescript/no-unnecessary-type-assertion": "error", |
172 | 184 | "typescript/no-unnecessary-type-constraint": "error", |
|
0 commit comments