@@ -6,7 +6,7 @@ search: false
66
77The progress of all rule implementations is tracked [ here] ( https://github.com/oxc-project/oxc/issues/481 ) .
88
9- - Total number of rules: 630
9+ - Total number of rules: 634
1010- Rules turned on by default: 104
1111
1212** Legend for 'Fixable?' column:**
@@ -277,7 +277,7 @@ Lints which prevent the use of language and library features. Must not be enable
277277| [ anchor-ambiguous-text] ( /docs/guide/usage/linter/rules/jsx_a11y/anchor-ambiguous-text.html ) | jsx_a11y | | |
278278| [ no-new-require] ( /docs/guide/usage/linter/rules/node/no-new-require.html ) | node | | |
279279| [ no-process-env] ( /docs/guide/usage/linter/rules/node/no-process-env.html ) | node | | |
280- | [ bad-bitwise-operator] ( /docs/guide/usage/linter/rules/oxc/bad-bitwise-operator.html ) | oxc | | ๐ง |
280+ | [ bad-bitwise-operator] ( /docs/guide/usage/linter/rules/oxc/bad-bitwise-operator.html ) | oxc | | ๐ก |
281281| [ no-async-await] ( /docs/guide/usage/linter/rules/oxc/no-async-await.html ) | oxc | | |
282282| [ no-barrel-file] ( /docs/guide/usage/linter/rules/oxc/no-barrel-file.html ) | oxc | | |
283283| [ no-const-enum] ( /docs/guide/usage/linter/rules/oxc/no-const-enum.html ) | oxc | | ๐ ๏ธ |
@@ -346,7 +346,7 @@ code that is most likely wrong or useless.
346346| [ no-unassigned-import] ( /docs/guide/usage/linter/rules/import/no-unassigned-import.html ) | import | | |
347347| [ no-commented-out-tests] ( /docs/guide/usage/linter/rules/jest/no-commented-out-tests.html ) | jest | | |
348348| [ approx-constant] ( /docs/guide/usage/linter/rules/oxc/approx-constant.html ) | oxc | | ๐ก |
349- | [ misrefactored-assign-op] ( /docs/guide/usage/linter/rules/oxc/misrefactored-assign-op.html ) | oxc | | ๐ง |
349+ | [ misrefactored-assign-op] ( /docs/guide/usage/linter/rules/oxc/misrefactored-assign-op.html ) | oxc | | ๐ก |
350350| [ no-async-endpoint-handlers] ( /docs/guide/usage/linter/rules/oxc/no-async-endpoint-handlers.html ) | oxc | | |
351351| [ no-this-in-exported-function] ( /docs/guide/usage/linter/rules/oxc/no-this-in-exported-function.html ) | oxc | | |
352352| [ always-return] ( /docs/guide/usage/linter/rules/promise/always-return.html ) | promise | | |
@@ -378,7 +378,7 @@ code that is most likely wrong or useless.
378378| [ no-required-prop-with-default] ( /docs/guide/usage/linter/rules/vue/no-required-prop-with-default.html ) | vue | | ๐ง |
379379| [ require-default-export] ( /docs/guide/usage/linter/rules/vue/require-default-export.html ) | vue | | |
380380
381- ## Pedantic (111 ):
381+ ## Pedantic (112 ):
382382
383383Lints which are rather strict or have occasional false positives.
384384| Rule name | Source | Default | Fixable? |
@@ -396,6 +396,7 @@ Lints which are rather strict or have occasional false positives.
396396| [ no-constructor-return] ( /docs/guide/usage/linter/rules/eslint/no-constructor-return.html ) | eslint | | |
397397| [ no-else-return] ( /docs/guide/usage/linter/rules/eslint/no-else-return.html ) | eslint | | ๐ ๏ธ |
398398| [ no-fallthrough] ( /docs/guide/usage/linter/rules/eslint/no-fallthrough.html ) | eslint | | ๐ง |
399+ | [ no-inline-comments] ( /docs/guide/usage/linter/rules/eslint/no-inline-comments.html ) | eslint | | |
399400| [ no-inner-declarations] ( /docs/guide/usage/linter/rules/eslint/no-inner-declarations.html ) | eslint | | |
400401| [ no-lonely-if] ( /docs/guide/usage/linter/rules/eslint/no-lonely-if.html ) | eslint | | ๐ง |
401402| [ no-loop-func] ( /docs/guide/usage/linter/rules/eslint/no-loop-func.html ) | eslint | | |
@@ -440,7 +441,7 @@ Lints which are rather strict or have occasional false positives.
440441| [ no-unsafe-member-access] ( /docs/guide/usage/linter/rules/typescript/no-unsafe-member-access.html ) | typescript | | ๐ง |
441442| [ no-unsafe-return] ( /docs/guide/usage/linter/rules/typescript/no-unsafe-return.html ) | typescript | | ๐ง |
442443| [ only-throw-error] ( /docs/guide/usage/linter/rules/typescript/only-throw-error.html ) | typescript | | ๐ง |
443- | [ prefer-enum-initializers] ( /docs/guide/usage/linter/rules/typescript/prefer-enum-initializers.html ) | typescript | | ๐ง |
444+ | [ prefer-enum-initializers] ( /docs/guide/usage/linter/rules/typescript/prefer-enum-initializers.html ) | typescript | | ๐ก |
444445| [ prefer-includes] ( /docs/guide/usage/linter/rules/typescript/prefer-includes.html ) | typescript | | ๐ง |
445446| [ prefer-nullish-coalescing] ( /docs/guide/usage/linter/rules/typescript/prefer-nullish-coalescing.html ) | typescript | | ๐ง |
446447| [ prefer-promise-reject-errors] ( /docs/guide/usage/linter/rules/typescript/prefer-promise-reject-errors.html ) | typescript | | ๐ง |
@@ -460,13 +461,13 @@ Lints which are rather strict or have occasional false positives.
460461| [ no-hex-escape] ( /docs/guide/usage/linter/rules/unicorn/no-hex-escape.html ) | unicorn | | ๐ ๏ธ |
461462| [ no-instanceof-array] ( /docs/guide/usage/linter/rules/unicorn/no-instanceof-array.html ) | unicorn | | ๐ ๏ธ |
462463| [ no-lonely-if] ( /docs/guide/usage/linter/rules/unicorn/no-lonely-if.html ) | unicorn | | |
463- | [ no-negation-in-equality-check] ( /docs/guide/usage/linter/rules/unicorn/no-negation-in-equality-check.html ) | unicorn | | ๐ง |
464+ | [ no-negation-in-equality-check] ( /docs/guide/usage/linter/rules/unicorn/no-negation-in-equality-check.html ) | unicorn | | ๐ก |
464465| [ no-new-buffer] ( /docs/guide/usage/linter/rules/unicorn/no-new-buffer.html ) | unicorn | | ๐ง |
465466| [ no-object-as-default-parameter] ( /docs/guide/usage/linter/rules/unicorn/no-object-as-default-parameter.html ) | unicorn | | |
466467| [ no-static-only-class] ( /docs/guide/usage/linter/rules/unicorn/no-static-only-class.html ) | unicorn | | โ ๏ธ๐ ๏ธ๏ธ |
467468| [ no-this-assignment] ( /docs/guide/usage/linter/rules/unicorn/no-this-assignment.html ) | unicorn | | |
468469| [ no-typeof-undefined] ( /docs/guide/usage/linter/rules/unicorn/no-typeof-undefined.html ) | unicorn | | ๐ง |
469- | [ no-unnecessary-array-flat-depth] ( /docs/guide/usage/linter/rules/unicorn/no-unnecessary-array-flat-depth.html ) | unicorn | | ๐ง |
470+ | [ no-unnecessary-array-flat-depth] ( /docs/guide/usage/linter/rules/unicorn/no-unnecessary-array-flat-depth.html ) | unicorn | | ๐ก |
470471| [ no-unnecessary-array-splice-count] ( /docs/guide/usage/linter/rules/unicorn/no-unnecessary-array-splice-count.html ) | unicorn | | ๐ ๏ธ |
471472| [ no-unnecessary-slice-end] ( /docs/guide/usage/linter/rules/unicorn/no-unnecessary-slice-end.html ) | unicorn | | ๐ ๏ธ |
472473| [ no-unreadable-iife] ( /docs/guide/usage/linter/rules/unicorn/no-unreadable-iife.html ) | unicorn | | |
@@ -495,12 +496,13 @@ Lints which are rather strict or have occasional false positives.
495496| [ prefer-type-error] ( /docs/guide/usage/linter/rules/unicorn/prefer-type-error.html ) | unicorn | | ๐ ๏ธ |
496497| [ require-number-to-fixed-digits-argument] ( /docs/guide/usage/linter/rules/unicorn/require-number-to-fixed-digits-argument.html ) | unicorn | | ๐ ๏ธ |
497498
498- ## Style (173 ):
499+ ## Style (176 ):
499500
500501Code that should be written in a more idiomatic way.
501502| Rule name | Source | Default | Fixable? |
502503| ------------------------------------ | ---------- | ------- | -------- |
503504| [ arrow-body-style] ( /docs/guide/usage/linter/rules/eslint/arrow-body-style.html ) | eslint | | ๐ ๏ธ |
505+ | [ capitalized-comments] ( /docs/guide/usage/linter/rules/eslint/capitalized-comments.html ) | eslint | | ๐ ๏ธ |
504506| [ curly] ( /docs/guide/usage/linter/rules/eslint/curly.html ) | eslint | | ๐ ๏ธ |
505507| [ default-case-last] ( /docs/guide/usage/linter/rules/eslint/default-case-last.html ) | eslint | | |
506508| [ default-param-last] ( /docs/guide/usage/linter/rules/eslint/default-param-last.html ) | eslint | | |
@@ -574,7 +576,7 @@ Code that should be written in a more idiomatic way.
574576| [ no-test-return-statement] ( /docs/guide/usage/linter/rules/jest/no-test-return-statement.html ) | jest | | |
575577| [ no-untyped-mock-factory] ( /docs/guide/usage/linter/rules/jest/no-untyped-mock-factory.html ) | jest | | ๐ ๏ธ |
576578| [ padding-around-test-blocks] ( /docs/guide/usage/linter/rules/jest/padding-around-test-blocks.html ) | jest | | ๐ ๏ธ |
577- | [ prefer-called-with] ( /docs/guide/usage/linter/rules/jest/prefer-called-with.html ) | jest | | |
579+ | [ prefer-called-with] ( /docs/guide/usage/linter/rules/jest/prefer-called-with.html ) | jest | | ๐ ๏ธ |
578580| [ prefer-comparison-matcher] ( /docs/guide/usage/linter/rules/jest/prefer-comparison-matcher.html ) | jest | | ๐ ๏ธ |
579581| [ prefer-each] ( /docs/guide/usage/linter/rules/jest/prefer-each.html ) | jest | | |
580582| [ prefer-equality-matcher] ( /docs/guide/usage/linter/rules/jest/prefer-equality-matcher.html ) | jest | | |
@@ -588,6 +590,8 @@ Code that should be written in a more idiomatic way.
588590| [ prefer-strict-equal] ( /docs/guide/usage/linter/rules/jest/prefer-strict-equal.html ) | jest | | ๐ ๏ธ |
589591| [ prefer-to-be] ( /docs/guide/usage/linter/rules/jest/prefer-to-be.html ) | jest | | ๐ ๏ธ |
590592| [ prefer-to-contain] ( /docs/guide/usage/linter/rules/jest/prefer-to-contain.html ) | jest | | ๐ ๏ธ |
593+ | [ prefer-to-have-been-called] ( /docs/guide/usage/linter/rules/jest/prefer-to-have-been-called.html ) | jest | | ๐ ๏ธ |
594+ | [ prefer-to-have-been-called-times] ( /docs/guide/usage/linter/rules/jest/prefer-to-have-been-called-times.html ) | jest | | ๐ ๏ธ |
591595| [ prefer-to-have-length] ( /docs/guide/usage/linter/rules/jest/prefer-to-have-length.html ) | jest | | ๐ ๏ธ |
592596| [ prefer-todo] ( /docs/guide/usage/linter/rules/jest/prefer-todo.html ) | jest | | ๐ ๏ธ |
593597| [ require-hook] ( /docs/guide/usage/linter/rules/jest/require-hook.html ) | jest | | |
@@ -619,7 +623,7 @@ Code that should be written in a more idiomatic way.
619623| [ consistent-type-definitions] ( /docs/guide/usage/linter/rules/typescript/consistent-type-definitions.html ) | typescript | | โ ๏ธ๐ ๏ธ๏ธ |
620624| [ consistent-type-imports] ( /docs/guide/usage/linter/rules/typescript/consistent-type-imports.html ) | typescript | | ๐ ๏ธ |
621625| [ no-empty-interface] ( /docs/guide/usage/linter/rules/typescript/no-empty-interface.html ) | typescript | | |
622- | [ no-inferrable-types] ( /docs/guide/usage/linter/rules/typescript/no-inferrable-types.html ) | typescript | | ๐ง |
626+ | [ no-inferrable-types] ( /docs/guide/usage/linter/rules/typescript/no-inferrable-types.html ) | typescript | | ๐ก |
623627| [ prefer-for-of] ( /docs/guide/usage/linter/rules/typescript/prefer-for-of.html ) | typescript | | ๐ง |
624628| [ prefer-function-type] ( /docs/guide/usage/linter/rules/typescript/prefer-function-type.html ) | typescript | | ๐ ๏ธ |
625629| [ prefer-namespace-keyword] ( /docs/guide/usage/linter/rules/typescript/prefer-namespace-keyword.html ) | typescript | | ๐ ๏ธ |
0 commit comments