You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/docs/guide/usage/linter/generated-rules.md
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
The progress of all rule implementations is tracked [here](https://github.com/oxc-project/oxc/issues/481).
4
4
5
-
- Total number of rules: 379
5
+
- Total number of rules: 383
6
6
- Rules turned on by default: 91
7
7
8
8
<!-- textlint-disable terminology -->
@@ -184,7 +184,7 @@ Code that can be written to run faster.
184
184
| jsx-no-new-function-as-prop | react_perf ||
185
185
| jsx-no-new-object-as-prop | react_perf ||
186
186
187
-
## Restriction (48):
187
+
## Restriction (49):
188
188
189
189
Lints which prevent the use of language and library features. Must not be enabled as a whole, should be considered on a case-by-case basis before enabling.
190
190
| Rule name | Source | Default |
@@ -201,6 +201,7 @@ Lints which prevent the use of language and library features. Must not be enable
201
201
| no-proto | eslint ||
202
202
| no-regex-spaces | eslint ||
203
203
| no-restricted-globals | eslint ||
204
+
| no-undefined | eslint ||
204
205
| no-unsafe-optional-chaining | eslint ||
205
206
| no-var | eslint ||
206
207
| no-void | eslint ||
@@ -258,7 +259,7 @@ code that is most likely wrong or useless.
258
259
| no-unnecessary-type-constraint | typescript ||
259
260
| prefer-add-event-listener | unicorn ||
260
261
261
-
## Pedantic (65):
262
+
## Pedantic (66):
262
263
263
264
Lints which are rather strict or have occasional false positives.
264
265
| Rule name | Source | Default |
@@ -302,6 +303,7 @@ Lints which are rather strict or have occasional false positives.
302
303
| no-instanceof-array | unicorn ||
303
304
| no-lonely-if | unicorn ||
304
305
| no-negated-condition | unicorn ||
306
+
| no-negation-in-equality-check | unicorn ||
305
307
| no-new-buffer | unicorn ||
306
308
| no-object-as-default-parameter | unicorn ||
307
309
| no-static-only-class | unicorn ||
@@ -329,7 +331,7 @@ Lints which are rather strict or have occasional false positives.
0 commit comments