diff --git a/src/docs/guide/usage/linter/generated-cli.md b/src/docs/guide/usage/linter/generated-cli.md index a234fc432b..ce3d673c73 100644 --- a/src/docs/guide/usage/linter/generated-cli.md +++ b/src/docs/guide/usage/linter/generated-cli.md @@ -116,6 +116,13 @@ Arguments: - **` --print-config`** — This option outputs the configuration to be used. When present, no linting is performed and only config-related options are valid. +## Inline Configuration Comments + +- **` --report-unused-disable-directives`** — + Report directive comments like `// eslint-disable-line` when no errors would have been reported on that line anyway. +- **` --report-unused-disable-directives-severity`**=_`SEVERITY`_ — + Same as `--report-unused-disable-directives`, but allows you to specify the severity level of the reported errors. Only one of these two options can be used at a time. + ## Available positional items: - _`PATH`_ — diff --git a/src/docs/guide/usage/linter/generated-rules.md b/src/docs/guide/usage/linter/generated-rules.md index 0f2e67fdc5..1b380592fc 100644 --- a/src/docs/guide/usage/linter/generated-rules.md +++ b/src/docs/guide/usage/linter/generated-rules.md @@ -13,7 +13,7 @@ The progress of all rule implementations is tracked [here](https://github.com/ox - βš οΈπŸ’‘: a dangerous suggestion is available for this rule - 🚧: an auto-fix or suggestion is possible, but currently not implemented -## Correctness (173): +## Correctness (174): Code that is outright wrong or useless. | Rule name | Source | Default | Fixable? | @@ -168,8 +168,9 @@ Code that is outright wrong or useless. | [no-duplicate-enum-values](/docs/guide/usage/linter/rules/typescript/no-duplicate-enum-values.html) | typescript | βœ… | | | [no-extra-non-null-assertion](/docs/guide/usage/linter/rules/typescript/no-extra-non-null-assertion.html) | typescript | βœ… | | | [no-misused-new](/docs/guide/usage/linter/rules/typescript/no-misused-new.html) | typescript | βœ… | | -| [no-non-null-asserted-optional-chain](/docs/guide/usage/linter/rules/typescript/no-non-null-asserted-optional-chain.html) | typescript | βœ… | | +| [no-non-null-asserted-optional-chain](/docs/guide/usage/linter/rules/typescript/no-non-null-asserted-optional-chain.html) | typescript | βœ… | 🚧 | | [no-this-alias](/docs/guide/usage/linter/rules/typescript/no-this-alias.html) | typescript | βœ… | | +| [no-unnecessary-parameter-property-assignment](/docs/guide/usage/linter/rules/typescript/no-unnecessary-parameter-property-assignment.html) | typescript | βœ… | 🚧 | | [no-unsafe-declaration-merging](/docs/guide/usage/linter/rules/typescript/no-unsafe-declaration-merging.html) | typescript | βœ… | | | [no-useless-empty-export](/docs/guide/usage/linter/rules/typescript/no-useless-empty-export.html) | typescript | βœ… | πŸ› οΈ | | [no-wrapper-object-types](/docs/guide/usage/linter/rules/typescript/no-wrapper-object-types.html) | typescript | βœ… | πŸ› οΈ | @@ -277,7 +278,7 @@ Lints which prevent the use of language and library features. Must not be enable | [prefer-node-protocol](/docs/guide/usage/linter/rules/unicorn/prefer-node-protocol.html) | unicorn | | πŸ› οΈ | | [prefer-number-properties](/docs/guide/usage/linter/rules/unicorn/prefer-number-properties.html) | unicorn | | 🚧 | -## Suspicious (28): +## Suspicious (29): code that is most likely wrong or useless. | Rule name | Source | Default | Fixable? | @@ -290,6 +291,7 @@ code that is most likely wrong or useless. | [no-useless-constructor](/docs/guide/usage/linter/rules/eslint/no-useless-constructor.html) | eslint | | πŸ› οΈ | | [no-absolute-path](/docs/guide/usage/linter/rules/import/no-absolute-path.html) | import | | 🚧 | | [no-duplicates](/docs/guide/usage/linter/rules/import/no-duplicates.html) | import | | | +| [no-empty-named-blocks](/docs/guide/usage/linter/rules/import/no-empty-named-blocks.html) | import | | πŸ› οΈ | | [no-named-as-default](/docs/guide/usage/linter/rules/import/no-named-as-default.html) | import | | | | [no-named-as-default-member](/docs/guide/usage/linter/rules/import/no-named-as-default-member.html) | import | | | | [no-self-import](/docs/guide/usage/linter/rules/import/no-self-import.html) | import | | | @@ -539,12 +541,11 @@ Code that should be written in a more idiomatic way. | [prefer-to-be-object](/docs/guide/usage/linter/rules/vitest/prefer-to-be-object.html) | vitest | | πŸ› οΈ | | [prefer-to-be-truthy](/docs/guide/usage/linter/rules/vitest/prefer-to-be-truthy.html) | vitest | | πŸ› οΈ | -## Nursery (12): +## Nursery (10): New lints that are still under development. | Rule name | Source | Default | Fixable? | -| -------------------------------------------- | ---------- | ------- | -------- | -| [constructor-super](/docs/guide/usage/linter/rules/eslint/constructor-super.html) | eslint | | | +| ----------------------- | ---------- | ------- | -------- | | [getter-return](/docs/guide/usage/linter/rules/eslint/getter-return.html) | eslint | | | | [no-undef](/docs/guide/usage/linter/rules/eslint/no-undef.html) | eslint | | | | [no-unreachable](/docs/guide/usage/linter/rules/eslint/no-unreachable.html) | eslint | | | @@ -555,4 +556,3 @@ New lints that are still under development. | [exhaustive-deps](/docs/guide/usage/linter/rules/react/exhaustive-deps.html) | react | | | | [require-render-return](/docs/guide/usage/linter/rules/react/require-render-return.html) | react | | | | [consistent-type-imports](/docs/guide/usage/linter/rules/typescript/consistent-type-imports.html) | typescript | | πŸ› οΈ | -| [no-unnecessary-parameter-property-assignment](/docs/guide/usage/linter/rules/typescript/no-unnecessary-parameter-property-assignment.html) | typescript | | 🚧 | diff --git a/src/docs/guide/usage/linter/rules/eslint/array-callback-return.md b/src/docs/guide/usage/linter/rules/eslint/array-callback-return.md index c37f20fb51..bdda606916 100644 --- a/src/docs/guide/usage/linter/rules/eslint/array-callback-return.md +++ b/src/docs/guide/usage/linter/rules/eslint/array-callback-return.md @@ -47,4 +47,4 @@ oxlint --deny array-callback-return ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/array_callback_return/mod.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/array_callback_return/mod.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/curly.md b/src/docs/guide/usage/linter/rules/eslint/curly.md index e536bcbe34..05d6500ac6 100644 --- a/src/docs/guide/usage/linter/rules/eslint/curly.md +++ b/src/docs/guide/usage/linter/rules/eslint/curly.md @@ -69,4 +69,4 @@ oxlint --deny curly ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/curly.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/curly.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/default-case-last.md b/src/docs/guide/usage/linter/rules/eslint/default-case-last.md index 634ab26006..fc14d40812 100644 --- a/src/docs/guide/usage/linter/rules/eslint/default-case-last.md +++ b/src/docs/guide/usage/linter/rules/eslint/default-case-last.md @@ -63,4 +63,4 @@ oxlint --deny default-case-last ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/default_case_last.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/default_case_last.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/default-case.md b/src/docs/guide/usage/linter/rules/eslint/default-case.md index 9386823154..11bdbcb3d4 100644 --- a/src/docs/guide/usage/linter/rules/eslint/default-case.md +++ b/src/docs/guide/usage/linter/rules/eslint/default-case.md @@ -108,4 +108,4 @@ oxlint --deny default-case ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/default_case.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/default_case.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/default-param-last.md b/src/docs/guide/usage/linter/rules/eslint/default-param-last.md index 011098b252..4ab3cc8cd3 100644 --- a/src/docs/guide/usage/linter/rules/eslint/default-param-last.md +++ b/src/docs/guide/usage/linter/rules/eslint/default-param-last.md @@ -47,4 +47,4 @@ oxlint --deny default-param-last ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/default_param_last.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/default_param_last.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/eqeqeq.md b/src/docs/guide/usage/linter/rules/eslint/eqeqeq.md index 1760b29cb6..261ac85532 100644 --- a/src/docs/guide/usage/linter/rules/eslint/eqeqeq.md +++ b/src/docs/guide/usage/linter/rules/eslint/eqeqeq.md @@ -46,4 +46,4 @@ oxlint --deny eqeqeq ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/eqeqeq.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/eqeqeq.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/for-direction.md b/src/docs/guide/usage/linter/rules/eslint/for-direction.md index 6939c3c9f0..ce149e1ff5 100644 --- a/src/docs/guide/usage/linter/rules/eslint/for-direction.md +++ b/src/docs/guide/usage/linter/rules/eslint/for-direction.md @@ -86,4 +86,4 @@ oxlint --deny for-direction ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/for_direction.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/for_direction.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/func-names.md b/src/docs/guide/usage/linter/rules/eslint/func-names.md index 17bdcc5bcd..d6ca1372f2 100644 --- a/src/docs/guide/usage/linter/rules/eslint/func-names.md +++ b/src/docs/guide/usage/linter/rules/eslint/func-names.md @@ -100,4 +100,4 @@ oxlint --deny func-names ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/func_names.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/func_names.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/func-style.md b/src/docs/guide/usage/linter/rules/eslint/func-style.md index ca534ee98a..96f2a66b46 100644 --- a/src/docs/guide/usage/linter/rules/eslint/func-style.md +++ b/src/docs/guide/usage/linter/rules/eslint/func-style.md @@ -157,4 +157,4 @@ oxlint --deny func-style ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/func_style.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/func_style.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/getter-return.md b/src/docs/guide/usage/linter/rules/eslint/getter-return.md index cf451ba7b3..6e9558d640 100644 --- a/src/docs/guide/usage/linter/rules/eslint/getter-return.md +++ b/src/docs/guide/usage/linter/rules/eslint/getter-return.md @@ -66,4 +66,4 @@ oxlint --deny getter-return ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/getter_return.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/getter_return.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/grouped-accessor-pairs.md b/src/docs/guide/usage/linter/rules/eslint/grouped-accessor-pairs.md index eb06666e5e..10f65b7d0d 100644 --- a/src/docs/guide/usage/linter/rules/eslint/grouped-accessor-pairs.md +++ b/src/docs/guide/usage/linter/rules/eslint/grouped-accessor-pairs.md @@ -121,4 +121,4 @@ oxlint --deny grouped-accessor-pairs ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/grouped_accessor_pairs.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/grouped_accessor_pairs.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/guard-for-in.md b/src/docs/guide/usage/linter/rules/eslint/guard-for-in.md index cd1871a2b9..87b46c3e37 100644 --- a/src/docs/guide/usage/linter/rules/eslint/guard-for-in.md +++ b/src/docs/guide/usage/linter/rules/eslint/guard-for-in.md @@ -73,4 +73,4 @@ oxlint --deny guard-for-in ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/guard_for_in.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/guard_for_in.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/init-declarations.md b/src/docs/guide/usage/linter/rules/eslint/init-declarations.md index 9e65ff76ec..e247aeb725 100644 --- a/src/docs/guide/usage/linter/rules/eslint/init-declarations.md +++ b/src/docs/guide/usage/linter/rules/eslint/init-declarations.md @@ -98,4 +98,4 @@ oxlint --deny init-declarations ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/init_declarations.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/init_declarations.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/max-classes-per-file.md b/src/docs/guide/usage/linter/rules/eslint/max-classes-per-file.md index 1c44339e51..073266b62d 100644 --- a/src/docs/guide/usage/linter/rules/eslint/max-classes-per-file.md +++ b/src/docs/guide/usage/linter/rules/eslint/max-classes-per-file.md @@ -43,4 +43,4 @@ oxlint --deny max-classes-per-file ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/max_classes_per_file.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/max_classes_per_file.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/max-depth.md b/src/docs/guide/usage/linter/rules/eslint/max-depth.md index 4685f5e9da..6312cf9073 100644 --- a/src/docs/guide/usage/linter/rules/eslint/max-depth.md +++ b/src/docs/guide/usage/linter/rules/eslint/max-depth.md @@ -108,4 +108,4 @@ oxlint --deny max-depth ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/max_depth.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/max_depth.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/max-lines-per-function.md b/src/docs/guide/usage/linter/rules/eslint/max-lines-per-function.md index caa3f0e5cb..965e1bfb72 100644 --- a/src/docs/guide/usage/linter/rules/eslint/max-lines-per-function.md +++ b/src/docs/guide/usage/linter/rules/eslint/max-lines-per-function.md @@ -116,4 +116,4 @@ oxlint --deny max-lines-per-function ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/max_lines_per_function.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/max_lines_per_function.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/max-lines.md b/src/docs/guide/usage/linter/rules/eslint/max-lines.md index eeece93527..c5b6a77f47 100644 --- a/src/docs/guide/usage/linter/rules/eslint/max-lines.md +++ b/src/docs/guide/usage/linter/rules/eslint/max-lines.md @@ -39,4 +39,4 @@ oxlint --deny max-lines ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/max_lines.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/max_lines.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/max-nested-callbacks.md b/src/docs/guide/usage/linter/rules/eslint/max-nested-callbacks.md index 48b080d768..78d433da33 100644 --- a/src/docs/guide/usage/linter/rules/eslint/max-nested-callbacks.md +++ b/src/docs/guide/usage/linter/rules/eslint/max-nested-callbacks.md @@ -99,4 +99,4 @@ oxlint --deny max-nested-callbacks ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/max_nested_callbacks.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/max_nested_callbacks.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/max-params.md b/src/docs/guide/usage/linter/rules/eslint/max-params.md index ba2d062190..d03dc83a6d 100644 --- a/src/docs/guide/usage/linter/rules/eslint/max-params.md +++ b/src/docs/guide/usage/linter/rules/eslint/max-params.md @@ -81,4 +81,4 @@ oxlint --deny max-params ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/max_params.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/max_params.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/new-cap.md b/src/docs/guide/usage/linter/rules/eslint/new-cap.md index e908257818..6f787478c4 100644 --- a/src/docs/guide/usage/linter/rules/eslint/new-cap.md +++ b/src/docs/guide/usage/linter/rules/eslint/new-cap.md @@ -342,4 +342,4 @@ oxlint --deny new-cap ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/new_cap.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/new_cap.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-alert.md b/src/docs/guide/usage/linter/rules/eslint/no-alert.md index 47518364b7..48422f8a6b 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-alert.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-alert.md @@ -63,4 +63,4 @@ oxlint --deny no-alert ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_alert.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_alert.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-array-constructor.md b/src/docs/guide/usage/linter/rules/eslint/no-array-constructor.md index 6890d3ad8e..2b461c9cd2 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-array-constructor.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-array-constructor.md @@ -59,4 +59,4 @@ oxlint --deny no-array-constructor ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_array_constructor.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_array_constructor.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-async-promise-executor.md b/src/docs/guide/usage/linter/rules/eslint/no-async-promise-executor.md index 39b48dc9a8..c36e110554 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-async-promise-executor.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-async-promise-executor.md @@ -96,4 +96,4 @@ oxlint --deny no-async-promise-executor ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_async_promise_executor.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_async_promise_executor.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-await-in-loop.md b/src/docs/guide/usage/linter/rules/eslint/no-await-in-loop.md index fd279923c1..3bd35f648e 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-await-in-loop.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-await-in-loop.md @@ -56,4 +56,4 @@ oxlint --deny no-await-in-loop ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_await_in_loop.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_await_in_loop.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-bitwise.md b/src/docs/guide/usage/linter/rules/eslint/no-bitwise.md index 572039af00..c4dcca4147 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-bitwise.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-bitwise.md @@ -95,4 +95,4 @@ oxlint --deny no-bitwise ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_bitwise.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_bitwise.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-caller.md b/src/docs/guide/usage/linter/rules/eslint/no-caller.md index b1ce5fc478..e66762a06f 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-caller.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-caller.md @@ -85,4 +85,4 @@ oxlint --deny no-caller ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_caller.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_caller.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-case-declarations.md b/src/docs/guide/usage/linter/rules/eslint/no-case-declarations.md index a834bb64f2..36065a1528 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-case-declarations.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-case-declarations.md @@ -55,4 +55,4 @@ oxlint --deny no-case-declarations ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_case_declarations.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_case_declarations.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-class-assign.md b/src/docs/guide/usage/linter/rules/eslint/no-class-assign.md index 80c6bdd73a..5b9c63b98b 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-class-assign.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-class-assign.md @@ -93,4 +93,4 @@ oxlint --deny no-class-assign ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_class_assign.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_class_assign.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-compare-neg-zero.md b/src/docs/guide/usage/linter/rules/eslint/no-compare-neg-zero.md index 24df327458..a397b9fb52 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-compare-neg-zero.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-compare-neg-zero.md @@ -79,4 +79,4 @@ oxlint --deny no-compare-neg-zero ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_compare_neg_zero.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_compare_neg_zero.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-cond-assign.md b/src/docs/guide/usage/linter/rules/eslint/no-cond-assign.md index 187c8001b7..d62ef379e9 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-cond-assign.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-cond-assign.md @@ -52,4 +52,4 @@ oxlint --deny no-cond-assign ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_cond_assign.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_cond_assign.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-console.md b/src/docs/guide/usage/linter/rules/eslint/no-console.md index 050db45360..bf9e4f6648 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-console.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-console.md @@ -47,4 +47,4 @@ oxlint --deny no-console ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_console.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_console.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-const-assign.md b/src/docs/guide/usage/linter/rules/eslint/no-const-assign.md index cf3c304274..715ac08e82 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-const-assign.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-const-assign.md @@ -61,4 +61,4 @@ oxlint --deny no-const-assign ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_const_assign.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_const_assign.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-constant-binary-expression.md b/src/docs/guide/usage/linter/rules/eslint/no-constant-binary-expression.md index 29f1a51def..89df2e6d16 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-constant-binary-expression.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-constant-binary-expression.md @@ -60,4 +60,4 @@ oxlint --deny no-constant-binary-expression ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_constant_binary_expression.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_constant_binary_expression.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-constant-condition.md b/src/docs/guide/usage/linter/rules/eslint/no-constant-condition.md index 4cc401195f..67ef57d711 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-constant-condition.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-constant-condition.md @@ -77,4 +77,4 @@ oxlint --deny no-constant-condition ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_constant_condition.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_constant_condition.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-constructor-return.md b/src/docs/guide/usage/linter/rules/eslint/no-constructor-return.md index eb8ad6b55d..2bcc3c1bc1 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-constructor-return.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-constructor-return.md @@ -54,4 +54,4 @@ oxlint --deny no-constructor-return ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_constructor_return.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_constructor_return.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-continue.md b/src/docs/guide/usage/linter/rules/eslint/no-continue.md index f787e1f600..fea05dc59c 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-continue.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-continue.md @@ -50,4 +50,4 @@ oxlint --deny no-continue ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_continue.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_continue.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-control-regex.md b/src/docs/guide/usage/linter/rules/eslint/no-control-regex.md index be65630505..7c5df7c558 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-control-regex.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-control-regex.md @@ -69,4 +69,4 @@ oxlint --deny no-control-regex ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_control_regex.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_control_regex.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-debugger.md b/src/docs/guide/usage/linter/rules/eslint/no-debugger.md index d7b0cfc8e6..1c9629dd0a 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-debugger.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-debugger.md @@ -52,4 +52,4 @@ oxlint --deny no-debugger ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_debugger.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_debugger.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-delete-var.md b/src/docs/guide/usage/linter/rules/eslint/no-delete-var.md index 2369afd5e7..eb805ea0c8 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-delete-var.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-delete-var.md @@ -49,4 +49,4 @@ oxlint --deny no-delete-var ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_delete_var.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_delete_var.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-div-regex.md b/src/docs/guide/usage/linter/rules/eslint/no-div-regex.md index 6f1c9f2bd7..9343bc5038 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-div-regex.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-div-regex.md @@ -47,4 +47,4 @@ oxlint --deny no-div-regex ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_div_regex.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_div_regex.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-dupe-class-members.md b/src/docs/guide/usage/linter/rules/eslint/no-dupe-class-members.md index 06a6217003..d89d562667 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-dupe-class-members.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-dupe-class-members.md @@ -52,4 +52,4 @@ oxlint --deny no-dupe-class-members ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_dupe_class_members.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_dupe_class_members.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-dupe-else-if.md b/src/docs/guide/usage/linter/rules/eslint/no-dupe-else-if.md index 77eb78b4e5..ccb98bf59a 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-dupe-else-if.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-dupe-else-if.md @@ -110,4 +110,4 @@ oxlint --deny no-dupe-else-if ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_dupe_else_if.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_dupe_else_if.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-dupe-keys.md b/src/docs/guide/usage/linter/rules/eslint/no-dupe-keys.md index 79aba397b7..744a3f4373 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-dupe-keys.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-dupe-keys.md @@ -72,4 +72,4 @@ oxlint --deny no-dupe-keys ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_dupe_keys.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_dupe_keys.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-duplicate-case.md b/src/docs/guide/usage/linter/rules/eslint/no-duplicate-case.md index 6e91480c9d..4a72e2985d 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-duplicate-case.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-duplicate-case.md @@ -93,4 +93,4 @@ oxlint --deny no-duplicate-case ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_duplicate_case.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_duplicate_case.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-duplicate-imports.md b/src/docs/guide/usage/linter/rules/eslint/no-duplicate-imports.md index 370421a2ae..e2fa237fba 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-duplicate-imports.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-duplicate-imports.md @@ -98,4 +98,4 @@ oxlint --deny no-duplicate-imports ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_duplicate_imports.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_duplicate_imports.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-else-return.md b/src/docs/guide/usage/linter/rules/eslint/no-else-return.md index 08d2ffff1e..0ef4146790 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-else-return.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-else-return.md @@ -187,4 +187,4 @@ oxlint --deny no-else-return ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_else_return.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_else_return.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-empty-character-class.md b/src/docs/guide/usage/linter/rules/eslint/no-empty-character-class.md index 49c0f2ddb7..cff601055a 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-empty-character-class.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-empty-character-class.md @@ -44,4 +44,4 @@ oxlint --deny no-empty-character-class ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_empty_character_class.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_empty_character_class.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-empty-function.md b/src/docs/guide/usage/linter/rules/eslint/no-empty-function.md index 8798441428..097e0400b3 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-empty-function.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-empty-function.md @@ -59,4 +59,4 @@ oxlint --deny no-empty-function ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_empty_function.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_empty_function.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-empty-pattern.md b/src/docs/guide/usage/linter/rules/eslint/no-empty-pattern.md index 2c14c8ab1c..fd31968a79 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-empty-pattern.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-empty-pattern.md @@ -86,4 +86,4 @@ oxlint --deny no-empty-pattern ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_empty_pattern.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_empty_pattern.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-empty-static-block.md b/src/docs/guide/usage/linter/rules/eslint/no-empty-static-block.md index 97916e9b06..ba8565f5a9 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-empty-static-block.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-empty-static-block.md @@ -68,4 +68,4 @@ oxlint --deny no-empty-static-block ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_empty_static_block.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_empty_static_block.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-empty.md b/src/docs/guide/usage/linter/rules/eslint/no-empty.md index 6720787a42..88b5e31485 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-empty.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-empty.md @@ -46,4 +46,4 @@ oxlint --deny no-empty ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_empty.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_empty.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-eq-null.md b/src/docs/guide/usage/linter/rules/eslint/no-eq-null.md index 2af149c88b..ec024415e3 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-eq-null.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-eq-null.md @@ -69,4 +69,4 @@ oxlint --deny no-eq-null ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_eq_null.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_eq_null.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-eval.md b/src/docs/guide/usage/linter/rules/eslint/no-eval.md index 9d6b6e26c8..171bd34a85 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-eval.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-eval.md @@ -105,4 +105,4 @@ oxlint --deny no-eval ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_eval.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_eval.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-ex-assign.md b/src/docs/guide/usage/linter/rules/eslint/no-ex-assign.md index 93b93fda9d..685fbcab7c 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-ex-assign.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-ex-assign.md @@ -52,4 +52,4 @@ oxlint --deny no-ex-assign ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_ex_assign.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_ex_assign.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-extend-native.md b/src/docs/guide/usage/linter/rules/eslint/no-extend-native.md index c8a1dd8a2b..f8b99ec78f 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-extend-native.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-extend-native.md @@ -70,4 +70,4 @@ oxlint --deny no-extend-native ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_extend_native.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_extend_native.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-extra-boolean-cast.md b/src/docs/guide/usage/linter/rules/eslint/no-extra-boolean-cast.md index 51ee7693fe..be033d0e1f 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-extra-boolean-cast.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-extra-boolean-cast.md @@ -58,4 +58,4 @@ oxlint --deny no-extra-boolean-cast ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_extra_boolean_cast.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_extra_boolean_cast.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-extra-label.md b/src/docs/guide/usage/linter/rules/eslint/no-extra-label.md index 53425b388c..1bc3a187d6 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-extra-label.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-extra-label.md @@ -101,4 +101,4 @@ oxlint --deny no-extra-label ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_extra_label.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_extra_label.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-fallthrough.md b/src/docs/guide/usage/linter/rules/eslint/no-fallthrough.md index eab55f1eff..55f8ab1286 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-fallthrough.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-fallthrough.md @@ -205,4 +205,4 @@ oxlint --deny no-fallthrough ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_fallthrough.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_fallthrough.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-func-assign.md b/src/docs/guide/usage/linter/rules/eslint/no-func-assign.md index 7a9d5b270a..25a0aed0e0 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-func-assign.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-func-assign.md @@ -80,4 +80,4 @@ oxlint --deny no-func-assign ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_func_assign.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_func_assign.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-global-assign.md b/src/docs/guide/usage/linter/rules/eslint/no-global-assign.md index 9ceb108ea4..d9d3b6cfed 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-global-assign.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-global-assign.md @@ -44,4 +44,4 @@ oxlint --deny no-global-assign ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_global_assign.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_global_assign.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-import-assign.md b/src/docs/guide/usage/linter/rules/eslint/no-import-assign.md index cba232ecc9..b5d7390dd9 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-import-assign.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-import-assign.md @@ -52,4 +52,4 @@ oxlint --deny no-import-assign ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_import_assign.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_import_assign.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-inner-declarations.md b/src/docs/guide/usage/linter/rules/eslint/no-inner-declarations.md index 1d4a461b19..617e6ecee9 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-inner-declarations.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-inner-declarations.md @@ -45,4 +45,4 @@ oxlint --deny no-inner-declarations ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_inner_declarations.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_inner_declarations.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-invalid-regexp.md b/src/docs/guide/usage/linter/rules/eslint/no-invalid-regexp.md index 74d82eb565..ac92eea7eb 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-invalid-regexp.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-invalid-regexp.md @@ -57,4 +57,4 @@ oxlint --deny no-invalid-regexp ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_invalid_regexp.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_invalid_regexp.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-irregular-whitespace.md b/src/docs/guide/usage/linter/rules/eslint/no-irregular-whitespace.md index 4998589c03..2668cbdc20 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-irregular-whitespace.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-irregular-whitespace.md @@ -47,4 +47,4 @@ oxlint --deny no-irregular-whitespace ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_irregular_whitespace.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_irregular_whitespace.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-iterator.md b/src/docs/guide/usage/linter/rules/eslint/no-iterator.md index 869a772c09..646c4b9afb 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-iterator.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-iterator.md @@ -72,4 +72,4 @@ oxlint --deny no-iterator ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_iterator.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_iterator.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-label-var.md b/src/docs/guide/usage/linter/rules/eslint/no-label-var.md index 677cc276e7..2e5775827d 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-label-var.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-label-var.md @@ -65,4 +65,4 @@ oxlint --deny no-label-var ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_label_var.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_label_var.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-labels.md b/src/docs/guide/usage/linter/rules/eslint/no-labels.md index 4457ec42e7..813c1dd26c 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-labels.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-labels.md @@ -124,4 +124,4 @@ oxlint --deny no-labels ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_labels.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_labels.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-lone-blocks.md b/src/docs/guide/usage/linter/rules/eslint/no-lone-blocks.md index a481296a58..77460f7da7 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-lone-blocks.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-lone-blocks.md @@ -58,4 +58,4 @@ oxlint --deny no-lone-blocks ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_lone_blocks.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_lone_blocks.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-lonely-if.md b/src/docs/guide/usage/linter/rules/eslint/no-lonely-if.md index ce8b194d0b..cebe75600e 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-lonely-if.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-lonely-if.md @@ -96,4 +96,4 @@ oxlint --deny no-lonely-if ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_lonely_if.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_lonely_if.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-loss-of-precision.md b/src/docs/guide/usage/linter/rules/eslint/no-loss-of-precision.md index a6417b4048..46e37ccad1 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-loss-of-precision.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-loss-of-precision.md @@ -91,4 +91,4 @@ oxlint --deny no-loss-of-precision ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_loss_of_precision.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_loss_of_precision.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-magic-numbers.md b/src/docs/guide/usage/linter/rules/eslint/no-magic-numbers.md index d37f1f768c..5fcec51fbb 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-magic-numbers.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-magic-numbers.md @@ -154,4 +154,4 @@ oxlint --deny no-magic-numbers ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_magic_numbers.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_magic_numbers.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-multi-assign.md b/src/docs/guide/usage/linter/rules/eslint/no-multi-assign.md index 3be4263b80..08a4df0e6b 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-multi-assign.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-multi-assign.md @@ -115,4 +115,4 @@ oxlint --deny no-multi-assign ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_multi_assign.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_multi_assign.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-multi-str.md b/src/docs/guide/usage/linter/rules/eslint/no-multi-str.md index 99a10ae2c8..2c692062dd 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-multi-str.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-multi-str.md @@ -44,4 +44,4 @@ oxlint --deny no-multi-str ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_multi_str.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_multi_str.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-negated-condition.md b/src/docs/guide/usage/linter/rules/eslint/no-negated-condition.md index 72ef79ffc6..bcecc55bd0 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-negated-condition.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-negated-condition.md @@ -64,4 +64,4 @@ oxlint --deny no-negated-condition ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_negated_condition.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_negated_condition.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-nested-ternary.md b/src/docs/guide/usage/linter/rules/eslint/no-nested-ternary.md index 401d739611..241ef0882f 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-nested-ternary.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-nested-ternary.md @@ -54,4 +54,4 @@ oxlint --deny no-nested-ternary ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_nested_ternary.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_nested_ternary.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-new-func.md b/src/docs/guide/usage/linter/rules/eslint/no-new-func.md index f278d7b824..2a918925bf 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-new-func.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-new-func.md @@ -56,4 +56,4 @@ oxlint --deny no-new-func ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_new_func.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_new_func.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-new-native-nonconstructor.md b/src/docs/guide/usage/linter/rules/eslint/no-new-native-nonconstructor.md index 9c84c7a777..c11bacc194 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-new-native-nonconstructor.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-new-native-nonconstructor.md @@ -60,4 +60,4 @@ oxlint --deny no-new-native-nonconstructor ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_new_native_nonconstructor.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_new_native_nonconstructor.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-new-wrappers.md b/src/docs/guide/usage/linter/rules/eslint/no-new-wrappers.md index c538a4dc78..17717b84d4 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-new-wrappers.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-new-wrappers.md @@ -63,4 +63,4 @@ oxlint --deny no-new-wrappers ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_new_wrappers.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_new_wrappers.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-new.md b/src/docs/guide/usage/linter/rules/eslint/no-new.md index 6574b26dd7..863961d3b7 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-new.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-new.md @@ -54,4 +54,4 @@ oxlint --deny no-new ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_new.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_new.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-nonoctal-decimal-escape.md b/src/docs/guide/usage/linter/rules/eslint/no-nonoctal-decimal-escape.md index da962acef8..b52182f864 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-nonoctal-decimal-escape.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-nonoctal-decimal-escape.md @@ -61,4 +61,4 @@ oxlint --deny no-nonoctal-decimal-escape ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_nonoctal_decimal_escape.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_nonoctal_decimal_escape.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-obj-calls.md b/src/docs/guide/usage/linter/rules/eslint/no-obj-calls.md index c2b14ff8df..ec951c3c70 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-obj-calls.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-obj-calls.md @@ -69,4 +69,4 @@ oxlint --deny no-obj-calls ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_obj_calls.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_obj_calls.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-object-constructor.md b/src/docs/guide/usage/linter/rules/eslint/no-object-constructor.md index 7b9d6386c4..d27e4dd74f 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-object-constructor.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-object-constructor.md @@ -56,4 +56,4 @@ oxlint --deny no-object-constructor ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_object_constructor.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_object_constructor.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-plusplus.md b/src/docs/guide/usage/linter/rules/eslint/no-plusplus.md index 265bd4bcc9..2b80b99270 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-plusplus.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-plusplus.md @@ -83,4 +83,4 @@ oxlint --deny no-plusplus ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_plusplus.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_plusplus.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-proto.md b/src/docs/guide/usage/linter/rules/eslint/no-proto.md index 4610524280..4c629db60a 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-proto.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-proto.md @@ -54,4 +54,4 @@ oxlint --deny no-proto ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_proto.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_proto.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-prototype-builtins.md b/src/docs/guide/usage/linter/rules/eslint/no-prototype-builtins.md index 4d0fae450b..b9d24dc2e3 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-prototype-builtins.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-prototype-builtins.md @@ -49,4 +49,4 @@ oxlint --deny no-prototype-builtins ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_prototype_builtins.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_prototype_builtins.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-redeclare.md b/src/docs/guide/usage/linter/rules/eslint/no-redeclare.md index d51d75b45a..7964e984f9 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-redeclare.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-redeclare.md @@ -42,4 +42,4 @@ oxlint --deny no-redeclare ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_redeclare.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_redeclare.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-regex-spaces.md b/src/docs/guide/usage/linter/rules/eslint/no-regex-spaces.md index 0d0c6839ad..6c9c1f4568 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-regex-spaces.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-regex-spaces.md @@ -50,4 +50,4 @@ oxlint --deny no-regex-spaces ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_regex_spaces.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_regex_spaces.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-restricted-globals.md b/src/docs/guide/usage/linter/rules/eslint/no-restricted-globals.md index 86b8eec79f..67cc934d85 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-restricted-globals.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-restricted-globals.md @@ -56,4 +56,4 @@ oxlint --deny no-restricted-globals ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_restricted_globals.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_restricted_globals.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-restricted-imports.md b/src/docs/guide/usage/linter/rules/eslint/no-restricted-imports.md index 51f4130232..469cbe2ee8 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-restricted-imports.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-restricted-imports.md @@ -354,5 +354,5 @@ oxlint --deny no-restricted-imports ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_restricted_imports.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_restricted_imports.rs) ```` diff --git a/src/docs/guide/usage/linter/rules/eslint/no-return-assign.md b/src/docs/guide/usage/linter/rules/eslint/no-return-assign.md index f2b99c7b87..1421b84906 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-return-assign.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-return-assign.md @@ -61,4 +61,4 @@ oxlint --deny no-return-assign ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_return_assign.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_return_assign.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-script-url.md b/src/docs/guide/usage/linter/rules/eslint/no-script-url.md index c64db4abd7..301d68f45a 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-script-url.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-script-url.md @@ -50,4 +50,4 @@ oxlint --deny no-script-url ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_script_url.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_script_url.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-self-assign.md b/src/docs/guide/usage/linter/rules/eslint/no-self-assign.md index f5257d21e5..b69495e0ce 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-self-assign.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-self-assign.md @@ -101,4 +101,4 @@ oxlint --deny no-self-assign ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_self_assign.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_self_assign.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-self-compare.md b/src/docs/guide/usage/linter/rules/eslint/no-self-compare.md index 3336bd79e0..2466dcbbfc 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-self-compare.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-self-compare.md @@ -47,4 +47,4 @@ oxlint --deny no-self-compare ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_self_compare.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_self_compare.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-setter-return.md b/src/docs/guide/usage/linter/rules/eslint/no-setter-return.md index ff0cd6e86d..d7dad0f934 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-setter-return.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-setter-return.md @@ -50,4 +50,4 @@ oxlint --deny no-setter-return ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_setter_return.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_setter_return.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-shadow-restricted-names.md b/src/docs/guide/usage/linter/rules/eslint/no-shadow-restricted-names.md index 94c10bfbc7..310852b9d2 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-shadow-restricted-names.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-shadow-restricted-names.md @@ -88,4 +88,4 @@ oxlint --deny no-shadow-restricted-names ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_shadow_restricted_names.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_shadow_restricted_names.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-sparse-arrays.md b/src/docs/guide/usage/linter/rules/eslint/no-sparse-arrays.md index 8a04a4db7a..99a3ae6450 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-sparse-arrays.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-sparse-arrays.md @@ -76,4 +76,4 @@ oxlint --deny no-sparse-arrays ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_sparse_arrays.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_sparse_arrays.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-template-curly-in-string.md b/src/docs/guide/usage/linter/rules/eslint/no-template-curly-in-string.md index e97067c9f7..27ef10858a 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-template-curly-in-string.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-template-curly-in-string.md @@ -62,4 +62,4 @@ oxlint --deny no-template-curly-in-string ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_template_curly_in_string.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_template_curly_in_string.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-ternary.md b/src/docs/guide/usage/linter/rules/eslint/no-ternary.md index aaaf83ca1e..e160edb53c 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-ternary.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-ternary.md @@ -73,4 +73,4 @@ oxlint --deny no-ternary ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_ternary.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_ternary.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-this-before-super.md b/src/docs/guide/usage/linter/rules/eslint/no-this-before-super.md index 1c77c11f3d..8be57f0dcc 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-this-before-super.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-this-before-super.md @@ -51,4 +51,4 @@ oxlint --deny no-this-before-super ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_this_before_super.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_this_before_super.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-throw-literal.md b/src/docs/guide/usage/linter/rules/eslint/no-throw-literal.md index 11ded0a358..d27bb21940 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-throw-literal.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-throw-literal.md @@ -78,4 +78,4 @@ oxlint --deny no-throw-literal ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_throw_literal.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_throw_literal.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-undef.md b/src/docs/guide/usage/linter/rules/eslint/no-undef.md index dd66169890..0b3e28753a 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-undef.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-undef.md @@ -42,4 +42,4 @@ oxlint --deny no-undef ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_undef.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_undef.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-undefined.md b/src/docs/guide/usage/linter/rules/eslint/no-undefined.md index 82e2de7c5d..b16261a5d9 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-undefined.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-undefined.md @@ -67,4 +67,4 @@ oxlint --deny no-undefined ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_undefined.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_undefined.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-unexpected-multiline.md b/src/docs/guide/usage/linter/rules/eslint/no-unexpected-multiline.md index 9728cccc5f..d96b09958d 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-unexpected-multiline.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-unexpected-multiline.md @@ -72,4 +72,4 @@ oxlint --deny no-unexpected-multiline ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_unexpected_multiline.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_unexpected_multiline.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-unneeded-ternary.md b/src/docs/guide/usage/linter/rules/eslint/no-unneeded-ternary.md index b86eac374c..0416909ffd 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-unneeded-ternary.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-unneeded-ternary.md @@ -62,4 +62,4 @@ oxlint --deny no-unneeded-ternary ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_unneeded_ternary.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_unneeded_ternary.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-unreachable.md b/src/docs/guide/usage/linter/rules/eslint/no-unreachable.md index 5ac049fbd3..51f553d285 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-unreachable.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-unreachable.md @@ -55,4 +55,4 @@ oxlint --deny no-unreachable ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_unreachable.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_unreachable.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-unsafe-finally.md b/src/docs/guide/usage/linter/rules/eslint/no-unsafe-finally.md index 15b4268826..69ef1beb94 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-unsafe-finally.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-unsafe-finally.md @@ -56,4 +56,4 @@ oxlint --deny no-unsafe-finally ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_unsafe_finally.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_unsafe_finally.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-unsafe-negation.md b/src/docs/guide/usage/linter/rules/eslint/no-unsafe-negation.md index 9c1bac7a93..ac48ba14fb 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-unsafe-negation.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-unsafe-negation.md @@ -78,4 +78,4 @@ oxlint --deny no-unsafe-negation ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_unsafe_negation.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_unsafe_negation.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-unsafe-optional-chaining.md b/src/docs/guide/usage/linter/rules/eslint/no-unsafe-optional-chaining.md index 79df79a4eb..4fe4308b64 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-unsafe-optional-chaining.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-unsafe-optional-chaining.md @@ -51,4 +51,4 @@ oxlint --deny no-unsafe-optional-chaining ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_unsafe_optional_chaining.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_unsafe_optional_chaining.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-unused-expressions.md b/src/docs/guide/usage/linter/rules/eslint/no-unused-expressions.md index b6e8ff6c47..c4751c463d 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-unused-expressions.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-unused-expressions.md @@ -51,4 +51,4 @@ oxlint --deny no-unused-expressions ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_unused_expressions.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_unused_expressions.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-unused-labels.md b/src/docs/guide/usage/linter/rules/eslint/no-unused-labels.md index 7ce6474a41..4896897b4a 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-unused-labels.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-unused-labels.md @@ -52,4 +52,4 @@ oxlint --deny no-unused-labels ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_unused_labels.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_unused_labels.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-unused-private-class-members.md b/src/docs/guide/usage/linter/rules/eslint/no-unused-private-class-members.md index f8bb04205a..861e4bc6b5 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-unused-private-class-members.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-unused-private-class-members.md @@ -100,4 +100,4 @@ oxlint --deny no-unused-private-class-members ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_unused_private_class_members.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_unused_private_class_members.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-unused-vars.md b/src/docs/guide/usage/linter/rules/eslint/no-unused-vars.md index 03694d86d0..6c99160d9c 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-unused-vars.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-unused-vars.md @@ -200,4 +200,4 @@ oxlint --deny no-unused-vars ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_unused_vars/mod.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_unused_vars/mod.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-useless-call.md b/src/docs/guide/usage/linter/rules/eslint/no-useless-call.md index 320e44eb8c..5104bcd752 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-useless-call.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-useless-call.md @@ -72,4 +72,4 @@ oxlint --deny no-useless-call ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_useless_call.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_useless_call.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-useless-catch.md b/src/docs/guide/usage/linter/rules/eslint/no-useless-catch.md index fdeab5da07..7f62b5323e 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-useless-catch.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-useless-catch.md @@ -51,4 +51,4 @@ oxlint --deny no-useless-catch ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_useless_catch.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_useless_catch.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-useless-concat.md b/src/docs/guide/usage/linter/rules/eslint/no-useless-concat.md index 087d6c8f74..f99035aba7 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-useless-concat.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-useless-concat.md @@ -60,4 +60,4 @@ oxlint --deny no-useless-concat ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_useless_concat.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_useless_concat.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-useless-constructor.md b/src/docs/guide/usage/linter/rules/eslint/no-useless-constructor.md index 59210459f1..dcec7caad5 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-useless-constructor.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-useless-constructor.md @@ -82,4 +82,4 @@ oxlint --deny no-useless-constructor ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_useless_constructor.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_useless_constructor.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-useless-escape.md b/src/docs/guide/usage/linter/rules/eslint/no-useless-escape.md index 082335f9b6..7b778b8369 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-useless-escape.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-useless-escape.md @@ -81,4 +81,4 @@ oxlint --deny no-useless-escape ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_useless_escape.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_useless_escape.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-useless-rename.md b/src/docs/guide/usage/linter/rules/eslint/no-useless-rename.md index 680f53391f..ca161ee7c9 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-useless-rename.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-useless-rename.md @@ -56,4 +56,4 @@ oxlint --deny no-useless-rename ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_useless_rename.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_useless_rename.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-var.md b/src/docs/guide/usage/linter/rules/eslint/no-var.md index 0844a72003..bc97399acb 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-var.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-var.md @@ -53,4 +53,4 @@ oxlint --deny no-var ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_var.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_var.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-void.md b/src/docs/guide/usage/linter/rules/eslint/no-void.md index e0836ad214..ae3afd6f37 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-void.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-void.md @@ -55,4 +55,4 @@ oxlint --deny no-void ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_void.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_void.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/no-with.md b/src/docs/guide/usage/linter/rules/eslint/no-with.md index c2701ad78b..aca6588bf4 100644 --- a/src/docs/guide/usage/linter/rules/eslint/no-with.md +++ b/src/docs/guide/usage/linter/rules/eslint/no-with.md @@ -46,4 +46,4 @@ oxlint --deny no-with ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/no_with.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/no_with.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/operator-assignment.md b/src/docs/guide/usage/linter/rules/eslint/operator-assignment.md index 46d53d4558..e77ebea2a1 100644 --- a/src/docs/guide/usage/linter/rules/eslint/operator-assignment.md +++ b/src/docs/guide/usage/linter/rules/eslint/operator-assignment.md @@ -96,4 +96,4 @@ oxlint --deny operator-assignment ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/operator_assignment.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/operator_assignment.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/prefer-exponentiation-operator.md b/src/docs/guide/usage/linter/rules/eslint/prefer-exponentiation-operator.md index 74b2087956..9d04b3a8da 100644 --- a/src/docs/guide/usage/linter/rules/eslint/prefer-exponentiation-operator.md +++ b/src/docs/guide/usage/linter/rules/eslint/prefer-exponentiation-operator.md @@ -43,4 +43,4 @@ oxlint --deny prefer-exponentiation-operator ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/prefer_exponentiation_operator.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/prefer_exponentiation_operator.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/prefer-numeric-literals.md b/src/docs/guide/usage/linter/rules/eslint/prefer-numeric-literals.md index 8e6868606c..4d77592683 100644 --- a/src/docs/guide/usage/linter/rules/eslint/prefer-numeric-literals.md +++ b/src/docs/guide/usage/linter/rules/eslint/prefer-numeric-literals.md @@ -54,4 +54,4 @@ oxlint --deny prefer-numeric-literals ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/prefer_numeric_literals.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/prefer_numeric_literals.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/prefer-object-has-own.md b/src/docs/guide/usage/linter/rules/eslint/prefer-object-has-own.md index f67cffab29..6605d2e8c2 100644 --- a/src/docs/guide/usage/linter/rules/eslint/prefer-object-has-own.md +++ b/src/docs/guide/usage/linter/rules/eslint/prefer-object-has-own.md @@ -71,4 +71,4 @@ oxlint --deny prefer-object-has-own ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/prefer_object_has_own.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/prefer_object_has_own.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/prefer-object-spread.md b/src/docs/guide/usage/linter/rules/eslint/prefer-object-spread.md index 6b10e5498b..92a1af7a6f 100644 --- a/src/docs/guide/usage/linter/rules/eslint/prefer-object-spread.md +++ b/src/docs/guide/usage/linter/rules/eslint/prefer-object-spread.md @@ -76,4 +76,4 @@ oxlint --deny prefer-object-spread ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/prefer_object_spread.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/prefer_object_spread.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/prefer-promise-reject-errors.md b/src/docs/guide/usage/linter/rules/eslint/prefer-promise-reject-errors.md index 995269e703..737bd891ac 100644 --- a/src/docs/guide/usage/linter/rules/eslint/prefer-promise-reject-errors.md +++ b/src/docs/guide/usage/linter/rules/eslint/prefer-promise-reject-errors.md @@ -76,4 +76,4 @@ oxlint --deny prefer-promise-reject-errors ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/prefer_promise_reject_errors.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/prefer_promise_reject_errors.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/prefer-rest-params.md b/src/docs/guide/usage/linter/rules/eslint/prefer-rest-params.md index c950897cfe..be302dd202 100644 --- a/src/docs/guide/usage/linter/rules/eslint/prefer-rest-params.md +++ b/src/docs/guide/usage/linter/rules/eslint/prefer-rest-params.md @@ -77,4 +77,4 @@ oxlint --deny prefer-rest-params ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/prefer_rest_params.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/prefer_rest_params.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/prefer-spread.md b/src/docs/guide/usage/linter/rules/eslint/prefer-spread.md index 1dc2a74221..5cc29307b0 100644 --- a/src/docs/guide/usage/linter/rules/eslint/prefer-spread.md +++ b/src/docs/guide/usage/linter/rules/eslint/prefer-spread.md @@ -78,4 +78,4 @@ oxlint --deny prefer-spread ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/prefer_spread.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/prefer_spread.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/radix.md b/src/docs/guide/usage/linter/rules/eslint/radix.md index 3dfbc3325f..5ab4657e21 100644 --- a/src/docs/guide/usage/linter/rules/eslint/radix.md +++ b/src/docs/guide/usage/linter/rules/eslint/radix.md @@ -45,4 +45,4 @@ oxlint --deny radix ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/radix.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/radix.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/require-await.md b/src/docs/guide/usage/linter/rules/eslint/require-await.md index 24a25d265f..032e5372bb 100644 --- a/src/docs/guide/usage/linter/rules/eslint/require-await.md +++ b/src/docs/guide/usage/linter/rules/eslint/require-await.md @@ -78,4 +78,4 @@ oxlint --deny require-await ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/require_await.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/require_await.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/require-yield.md b/src/docs/guide/usage/linter/rules/eslint/require-yield.md index e6a8f8adb3..a4848d7c03 100644 --- a/src/docs/guide/usage/linter/rules/eslint/require-yield.md +++ b/src/docs/guide/usage/linter/rules/eslint/require-yield.md @@ -46,4 +46,4 @@ oxlint --deny require-yield ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/require_yield.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/require_yield.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/sort-imports.md b/src/docs/guide/usage/linter/rules/eslint/sort-imports.md index 73d7954d1d..98260ae0e6 100644 --- a/src/docs/guide/usage/linter/rules/eslint/sort-imports.md +++ b/src/docs/guide/usage/linter/rules/eslint/sort-imports.md @@ -49,4 +49,4 @@ oxlint --deny sort-imports ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/sort_imports.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/sort_imports.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/sort-keys.md b/src/docs/guide/usage/linter/rules/eslint/sort-keys.md index eec4e9d437..8ad4979c97 100644 --- a/src/docs/guide/usage/linter/rules/eslint/sort-keys.md +++ b/src/docs/guide/usage/linter/rules/eslint/sort-keys.md @@ -59,4 +59,4 @@ oxlint --deny sort-keys ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/sort_keys.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/sort_keys.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/sort-vars.md b/src/docs/guide/usage/linter/rules/eslint/sort-vars.md index a668e9158d..5edae420cd 100644 --- a/src/docs/guide/usage/linter/rules/eslint/sort-vars.md +++ b/src/docs/guide/usage/linter/rules/eslint/sort-vars.md @@ -55,4 +55,4 @@ oxlint --deny sort-vars ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/sort_vars.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/sort_vars.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/symbol-description.md b/src/docs/guide/usage/linter/rules/eslint/symbol-description.md index 6bc6575240..419fe705c9 100644 --- a/src/docs/guide/usage/linter/rules/eslint/symbol-description.md +++ b/src/docs/guide/usage/linter/rules/eslint/symbol-description.md @@ -57,4 +57,4 @@ oxlint --deny symbol-description ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/symbol_description.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/symbol_description.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/unicode-bom.md b/src/docs/guide/usage/linter/rules/eslint/unicode-bom.md index 4197699d0e..8e60b3289b 100644 --- a/src/docs/guide/usage/linter/rules/eslint/unicode-bom.md +++ b/src/docs/guide/usage/linter/rules/eslint/unicode-bom.md @@ -48,4 +48,4 @@ oxlint --deny unicode-bom ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/unicode_bom.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/unicode_bom.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/use-isnan.md b/src/docs/guide/usage/linter/rules/eslint/use-isnan.md index ceac9ada4a..84da04c750 100644 --- a/src/docs/guide/usage/linter/rules/eslint/use-isnan.md +++ b/src/docs/guide/usage/linter/rules/eslint/use-isnan.md @@ -61,4 +61,4 @@ oxlint --deny use-isnan ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/use_isnan.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/use_isnan.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/valid-typeof.md b/src/docs/guide/usage/linter/rules/eslint/valid-typeof.md index 0c7ac52f0a..c5e80c9173 100644 --- a/src/docs/guide/usage/linter/rules/eslint/valid-typeof.md +++ b/src/docs/guide/usage/linter/rules/eslint/valid-typeof.md @@ -93,4 +93,4 @@ oxlint --deny valid-typeof ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/valid_typeof.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/valid_typeof.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/vars-on-top.md b/src/docs/guide/usage/linter/rules/eslint/vars-on-top.md index 4d0421424c..8aac46e116 100644 --- a/src/docs/guide/usage/linter/rules/eslint/vars-on-top.md +++ b/src/docs/guide/usage/linter/rules/eslint/vars-on-top.md @@ -100,4 +100,4 @@ oxlint --deny vars-on-top ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/vars_on_top.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/vars_on_top.rs) diff --git a/src/docs/guide/usage/linter/rules/eslint/yoda.md b/src/docs/guide/usage/linter/rules/eslint/yoda.md index c2b79beda3..492d8f1e16 100644 --- a/src/docs/guide/usage/linter/rules/eslint/yoda.md +++ b/src/docs/guide/usage/linter/rules/eslint/yoda.md @@ -185,4 +185,4 @@ oxlint --deny yoda ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/eslint/yoda.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/eslint/yoda.rs) diff --git a/src/docs/guide/usage/linter/rules/import/default.md b/src/docs/guide/usage/linter/rules/import/default.md index fa765db749..2ea4294a2f 100644 --- a/src/docs/guide/usage/linter/rules/import/default.md +++ b/src/docs/guide/usage/linter/rules/import/default.md @@ -69,4 +69,4 @@ oxlint --deny import/default --import-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/import/default.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/import/default.rs) diff --git a/src/docs/guide/usage/linter/rules/import/export.md b/src/docs/guide/usage/linter/rules/import/export.md index 0d5650139c..b39cd597f9 100644 --- a/src/docs/guide/usage/linter/rules/import/export.md +++ b/src/docs/guide/usage/linter/rules/import/export.md @@ -56,4 +56,4 @@ oxlint --deny import/export --import-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/import/export.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/import/export.rs) diff --git a/src/docs/guide/usage/linter/rules/import/exports-last.md b/src/docs/guide/usage/linter/rules/import/exports-last.md index 4bd80eae1b..1f2dbdfcd3 100644 --- a/src/docs/guide/usage/linter/rules/import/exports-last.md +++ b/src/docs/guide/usage/linter/rules/import/exports-last.md @@ -59,4 +59,4 @@ oxlint --deny import/exports-last --import-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/import/exports_last.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/import/exports_last.rs) diff --git a/src/docs/guide/usage/linter/rules/import/first.md b/src/docs/guide/usage/linter/rules/import/first.md index d966077f57..747150e6ed 100644 --- a/src/docs/guide/usage/linter/rules/import/first.md +++ b/src/docs/guide/usage/linter/rules/import/first.md @@ -78,4 +78,4 @@ oxlint --deny import/first --import-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/import/first.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/import/first.rs) diff --git a/src/docs/guide/usage/linter/rules/import/max-dependencies.md b/src/docs/guide/usage/linter/rules/import/max-dependencies.md index f186009672..5ec9671267 100644 --- a/src/docs/guide/usage/linter/rules/import/max-dependencies.md +++ b/src/docs/guide/usage/linter/rules/import/max-dependencies.md @@ -57,4 +57,4 @@ oxlint --deny import/max-dependencies --import-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/import/max_dependencies.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/import/max_dependencies.rs) diff --git a/src/docs/guide/usage/linter/rules/import/named.md b/src/docs/guide/usage/linter/rules/import/named.md index 807eb3f58a..2eb8a5f7aa 100644 --- a/src/docs/guide/usage/linter/rules/import/named.md +++ b/src/docs/guide/usage/linter/rules/import/named.md @@ -89,4 +89,4 @@ oxlint --deny import/named --import-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/import/named.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/import/named.rs) diff --git a/src/docs/guide/usage/linter/rules/import/namespace.md b/src/docs/guide/usage/linter/rules/import/namespace.md index 5b750c0629..16de294458 100644 --- a/src/docs/guide/usage/linter/rules/import/namespace.md +++ b/src/docs/guide/usage/linter/rules/import/namespace.md @@ -84,4 +84,4 @@ oxlint --deny import/namespace --import-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/import/namespace.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/import/namespace.rs) diff --git a/src/docs/guide/usage/linter/rules/import/no-absolute-path.md b/src/docs/guide/usage/linter/rules/import/no-absolute-path.md index 125983aefa..8ac116288d 100644 --- a/src/docs/guide/usage/linter/rules/import/no-absolute-path.md +++ b/src/docs/guide/usage/linter/rules/import/no-absolute-path.md @@ -101,4 +101,4 @@ oxlint --deny import/no-absolute-path --import-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/import/no_absolute_path.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/import/no_absolute_path.rs) diff --git a/src/docs/guide/usage/linter/rules/import/no-amd.md b/src/docs/guide/usage/linter/rules/import/no-amd.md index ed65c1c961..e7d2bf158e 100644 --- a/src/docs/guide/usage/linter/rules/import/no-amd.md +++ b/src/docs/guide/usage/linter/rules/import/no-amd.md @@ -56,4 +56,4 @@ oxlint --deny import/no-amd --import-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/import/no_amd.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/import/no_amd.rs) diff --git a/src/docs/guide/usage/linter/rules/import/no-anonymous-default-export.md b/src/docs/guide/usage/linter/rules/import/no-anonymous-default-export.md index 409dd10f3d..6ecd7b5e64 100644 --- a/src/docs/guide/usage/linter/rules/import/no-anonymous-default-export.md +++ b/src/docs/guide/usage/linter/rules/import/no-anonymous-default-export.md @@ -113,4 +113,4 @@ oxlint --deny import/no-anonymous-default-export --import-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/import/no_anonymous_default_export.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/import/no_anonymous_default_export.rs) diff --git a/src/docs/guide/usage/linter/rules/import/no-commonjs.md b/src/docs/guide/usage/linter/rules/import/no-commonjs.md index 86a72f0bb3..276fb1d551 100644 --- a/src/docs/guide/usage/linter/rules/import/no-commonjs.md +++ b/src/docs/guide/usage/linter/rules/import/no-commonjs.md @@ -104,4 +104,4 @@ oxlint --deny import/no-commonjs --import-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/import/no_commonjs.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/import/no_commonjs.rs) diff --git a/src/docs/guide/usage/linter/rules/import/no-cycle.md b/src/docs/guide/usage/linter/rules/import/no-cycle.md index 76845b8b0d..722f54ced4 100644 --- a/src/docs/guide/usage/linter/rules/import/no-cycle.md +++ b/src/docs/guide/usage/linter/rules/import/no-cycle.md @@ -82,4 +82,4 @@ oxlint --deny import/no-cycle --import-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/import/no_cycle.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/import/no_cycle.rs) diff --git a/src/docs/guide/usage/linter/rules/import/no-default-export.md b/src/docs/guide/usage/linter/rules/import/no-default-export.md index 08e767d7d6..5e43034005 100644 --- a/src/docs/guide/usage/linter/rules/import/no-default-export.md +++ b/src/docs/guide/usage/linter/rules/import/no-default-export.md @@ -58,4 +58,4 @@ oxlint --deny import/no-default-export --import-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/import/no_default_export.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/import/no_default_export.rs) diff --git a/src/docs/guide/usage/linter/rules/import/no-duplicates.md b/src/docs/guide/usage/linter/rules/import/no-duplicates.md index 332d8dc340..a0743fe28b 100644 --- a/src/docs/guide/usage/linter/rules/import/no-duplicates.md +++ b/src/docs/guide/usage/linter/rules/import/no-duplicates.md @@ -63,4 +63,4 @@ oxlint --deny import/no-duplicates --import-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/import/no_duplicates.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/import/no_duplicates.rs) diff --git a/src/docs/guide/usage/linter/rules/import/no-dynamic-require.md b/src/docs/guide/usage/linter/rules/import/no-dynamic-require.md index 242bb25529..a3c6b6d045 100644 --- a/src/docs/guide/usage/linter/rules/import/no-dynamic-require.md +++ b/src/docs/guide/usage/linter/rules/import/no-dynamic-require.md @@ -56,4 +56,4 @@ oxlint --deny import/no-dynamic-require --import-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/import/no_dynamic_require.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/import/no_dynamic_require.rs) diff --git a/src/docs/guide/usage/linter/rules/import/no-empty-named-blocks.md b/src/docs/guide/usage/linter/rules/import/no-empty-named-blocks.md new file mode 100644 index 0000000000..83b68d422d --- /dev/null +++ b/src/docs/guide/usage/linter/rules/import/no-empty-named-blocks.md @@ -0,0 +1,59 @@ + + +# import/no-empty-named-blocks + +
+ +πŸ› οΈ An auto-fix is available for this rule. + +
+ +### What it does + +Enforces that named import blocks are not empty + +### Why is this bad? + +Empty named imports serve no practical purpose and +often result from accidental deletions or tool-generated code. + +### Examples + +Examples of **incorrect** code for this rule: + +```js +import {} from "mod"; +import Default from "mod"; +``` + +Examples of **correct** code for this rule: + +```js +import { mod } from "mod"; +import Default, { mod } from "mod"; +``` + +## How to use + +To **enable** this rule in the CLI or using the config file, you can use: + +::: code-group + +```bash [CLI] +oxlint --deny import/no-empty-named-blocks --import-plugin +``` + +```json [Config (.oxlintrc.json)] +{ + "plugins": ["import"], + "rules": { + "import/no-empty-named-blocks": "error" + } +} +``` + +::: + +## References + +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/import/no_empty_named_blocks.rs) diff --git a/src/docs/guide/usage/linter/rules/import/no-mutable-exports.md b/src/docs/guide/usage/linter/rules/import/no-mutable-exports.md index be84471606..e52355d205 100644 --- a/src/docs/guide/usage/linter/rules/import/no-mutable-exports.md +++ b/src/docs/guide/usage/linter/rules/import/no-mutable-exports.md @@ -61,4 +61,4 @@ oxlint --deny import/no-mutable-exports --import-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/import/no_mutable_exports.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/import/no_mutable_exports.rs) diff --git a/src/docs/guide/usage/linter/rules/import/no-named-as-default-member.md b/src/docs/guide/usage/linter/rules/import/no-named-as-default-member.md index 666490dbb3..1b5421004e 100644 --- a/src/docs/guide/usage/linter/rules/import/no-named-as-default-member.md +++ b/src/docs/guide/usage/linter/rules/import/no-named-as-default-member.md @@ -70,4 +70,4 @@ oxlint --deny import/no-named-as-default-member --import-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/import/no_named_as_default_member.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/import/no_named_as_default_member.rs) diff --git a/src/docs/guide/usage/linter/rules/import/no-named-as-default.md b/src/docs/guide/usage/linter/rules/import/no-named-as-default.md index f91ad681f3..3e5036b314 100644 --- a/src/docs/guide/usage/linter/rules/import/no-named-as-default.md +++ b/src/docs/guide/usage/linter/rules/import/no-named-as-default.md @@ -65,4 +65,4 @@ oxlint --deny import/no-named-as-default --import-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/import/no_named_as_default.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/import/no_named_as_default.rs) diff --git a/src/docs/guide/usage/linter/rules/import/no-named-default.md b/src/docs/guide/usage/linter/rules/import/no-named-default.md index 02a39cbc28..023fbe65c3 100644 --- a/src/docs/guide/usage/linter/rules/import/no-named-default.md +++ b/src/docs/guide/usage/linter/rules/import/no-named-default.md @@ -53,4 +53,4 @@ oxlint --deny import/no-named-default --import-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/import/no_named_default.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/import/no_named_default.rs) diff --git a/src/docs/guide/usage/linter/rules/import/no-namespace.md b/src/docs/guide/usage/linter/rules/import/no-namespace.md index 3d61e2dae0..c810be9903 100644 --- a/src/docs/guide/usage/linter/rules/import/no-namespace.md +++ b/src/docs/guide/usage/linter/rules/import/no-namespace.md @@ -83,4 +83,4 @@ oxlint --deny import/no-namespace --import-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/import/no_namespace.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/import/no_namespace.rs) diff --git a/src/docs/guide/usage/linter/rules/import/no-self-import.md b/src/docs/guide/usage/linter/rules/import/no-self-import.md index 1492bb9b83..f78424acb5 100644 --- a/src/docs/guide/usage/linter/rules/import/no-self-import.md +++ b/src/docs/guide/usage/linter/rules/import/no-self-import.md @@ -55,4 +55,4 @@ oxlint --deny import/no-self-import --import-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/import/no_self_import.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/import/no_self_import.rs) diff --git a/src/docs/guide/usage/linter/rules/import/no-webpack-loader-syntax.md b/src/docs/guide/usage/linter/rules/import/no-webpack-loader-syntax.md index b4e76a651f..dd2825c7ad 100644 --- a/src/docs/guide/usage/linter/rules/import/no-webpack-loader-syntax.md +++ b/src/docs/guide/usage/linter/rules/import/no-webpack-loader-syntax.md @@ -59,4 +59,4 @@ oxlint --deny import/no-webpack-loader-syntax --import-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/import/no_webpack_loader_syntax.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/import/no_webpack_loader_syntax.rs) diff --git a/src/docs/guide/usage/linter/rules/import/unambiguous.md b/src/docs/guide/usage/linter/rules/import/unambiguous.md index bceee81cb0..24400c297a 100644 --- a/src/docs/guide/usage/linter/rules/import/unambiguous.md +++ b/src/docs/guide/usage/linter/rules/import/unambiguous.md @@ -66,4 +66,4 @@ oxlint --deny import/unambiguous --import-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/import/unambiguous.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/import/unambiguous.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/consistent-test-it.md b/src/docs/guide/usage/linter/rules/jest/consistent-test-it.md index 739ebaca4c..7d5c1687c4 100644 --- a/src/docs/guide/usage/linter/rules/jest/consistent-test-it.md +++ b/src/docs/guide/usage/linter/rules/jest/consistent-test-it.md @@ -113,4 +113,4 @@ oxlint --deny jest/consistent-test-it --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/consistent_test_it.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/consistent_test_it.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/expect-expect.md b/src/docs/guide/usage/linter/rules/jest/expect-expect.md index 9f45e7701f..51f63afbec 100644 --- a/src/docs/guide/usage/linter/rules/jest/expect-expect.md +++ b/src/docs/guide/usage/linter/rules/jest/expect-expect.md @@ -59,4 +59,4 @@ oxlint --deny jest/expect-expect --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/expect_expect.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/expect_expect.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/max-expects.md b/src/docs/guide/usage/linter/rules/jest/max-expects.md index 69ab457491..8d39a095d2 100644 --- a/src/docs/guide/usage/linter/rules/jest/max-expects.md +++ b/src/docs/guide/usage/linter/rules/jest/max-expects.md @@ -61,4 +61,4 @@ oxlint --deny jest/max-expects --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/max_expects.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/max_expects.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/max-nested-describe.md b/src/docs/guide/usage/linter/rules/jest/max-nested-describe.md index 1605840b4b..9a0a05091d 100644 --- a/src/docs/guide/usage/linter/rules/jest/max-nested-describe.md +++ b/src/docs/guide/usage/linter/rules/jest/max-nested-describe.md @@ -114,4 +114,4 @@ oxlint --deny jest/max-nested-describe --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/max_nested_describe.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/max_nested_describe.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/no-alias-methods.md b/src/docs/guide/usage/linter/rules/jest/no-alias-methods.md index 3a681331f3..a79e3db3bb 100644 --- a/src/docs/guide/usage/linter/rules/jest/no-alias-methods.md +++ b/src/docs/guide/usage/linter/rules/jest/no-alias-methods.md @@ -111,4 +111,4 @@ oxlint --deny jest/no-alias-methods --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/no_alias_methods.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/no_alias_methods.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/no-commented-out-tests.md b/src/docs/guide/usage/linter/rules/jest/no-commented-out-tests.md index 3a7d433533..2a1f075010 100644 --- a/src/docs/guide/usage/linter/rules/jest/no-commented-out-tests.md +++ b/src/docs/guide/usage/linter/rules/jest/no-commented-out-tests.md @@ -61,4 +61,4 @@ oxlint --deny jest/no-commented-out-tests --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/no_commented_out_tests.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/no_commented_out_tests.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/no-conditional-expect.md b/src/docs/guide/usage/linter/rules/jest/no-conditional-expect.md index 1a26479362..be2ffbec9f 100644 --- a/src/docs/guide/usage/linter/rules/jest/no-conditional-expect.md +++ b/src/docs/guide/usage/linter/rules/jest/no-conditional-expect.md @@ -104,4 +104,4 @@ oxlint --deny jest/no-conditional-expect --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/no_conditional_expect.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/no_conditional_expect.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/no-conditional-in-test.md b/src/docs/guide/usage/linter/rules/jest/no-conditional-in-test.md index cace7a3d03..316da8c8e7 100644 --- a/src/docs/guide/usage/linter/rules/jest/no-conditional-in-test.md +++ b/src/docs/guide/usage/linter/rules/jest/no-conditional-in-test.md @@ -104,4 +104,4 @@ oxlint --deny jest/no-conditional-in-test --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/no_conditional_in_test.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/no_conditional_in_test.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/no-confusing-set-timeout.md b/src/docs/guide/usage/linter/rules/jest/no-confusing-set-timeout.md index b8807fa1bd..13029b3491 100644 --- a/src/docs/guide/usage/linter/rules/jest/no-confusing-set-timeout.md +++ b/src/docs/guide/usage/linter/rules/jest/no-confusing-set-timeout.md @@ -68,4 +68,4 @@ oxlint --deny jest/no-confusing-set-timeout --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/no_confusing_set_timeout.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/no_confusing_set_timeout.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/no-deprecated-functions.md b/src/docs/guide/usage/linter/rules/jest/no-deprecated-functions.md index e5ca252c97..ad80ba3665 100644 --- a/src/docs/guide/usage/linter/rules/jest/no-deprecated-functions.md +++ b/src/docs/guide/usage/linter/rules/jest/no-deprecated-functions.md @@ -77,4 +77,4 @@ oxlint --deny jest/no-deprecated-functions --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/no_deprecated_functions.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/no_deprecated_functions.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/no-disabled-tests.md b/src/docs/guide/usage/linter/rules/jest/no-disabled-tests.md index 0fb6e1b07a..a9b92cae63 100644 --- a/src/docs/guide/usage/linter/rules/jest/no-disabled-tests.md +++ b/src/docs/guide/usage/linter/rules/jest/no-disabled-tests.md @@ -76,4 +76,4 @@ oxlint --deny jest/no-disabled-tests --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/no_disabled_tests.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/no_disabled_tests.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/no-done-callback.md b/src/docs/guide/usage/linter/rules/jest/no-done-callback.md index 06232ba15e..6ca4d73e61 100644 --- a/src/docs/guide/usage/linter/rules/jest/no-done-callback.md +++ b/src/docs/guide/usage/linter/rules/jest/no-done-callback.md @@ -70,4 +70,4 @@ oxlint --deny jest/no-done-callback --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/no_done_callback.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/no_done_callback.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/no-duplicate-hooks.md b/src/docs/guide/usage/linter/rules/jest/no-duplicate-hooks.md index 6356079471..1656b422e5 100644 --- a/src/docs/guide/usage/linter/rules/jest/no-duplicate-hooks.md +++ b/src/docs/guide/usage/linter/rules/jest/no-duplicate-hooks.md @@ -104,4 +104,4 @@ oxlint --deny jest/no-duplicate-hooks --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/no_duplicate_hooks.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/no_duplicate_hooks.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/no-export.md b/src/docs/guide/usage/linter/rules/jest/no-export.md index be208c9446..c8abcacc0b 100644 --- a/src/docs/guide/usage/linter/rules/jest/no-export.md +++ b/src/docs/guide/usage/linter/rules/jest/no-export.md @@ -50,4 +50,4 @@ oxlint --deny jest/no-export --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/no_export.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/no_export.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/no-focused-tests.md b/src/docs/guide/usage/linter/rules/jest/no-focused-tests.md index 5d0af2fe3d..2981001024 100644 --- a/src/docs/guide/usage/linter/rules/jest/no-focused-tests.md +++ b/src/docs/guide/usage/linter/rules/jest/no-focused-tests.md @@ -74,4 +74,4 @@ oxlint --deny jest/no-focused-tests --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/no_focused_tests.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/no_focused_tests.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/no-hooks.md b/src/docs/guide/usage/linter/rules/jest/no-hooks.md index 9cd8650ec8..742787b5d7 100644 --- a/src/docs/guide/usage/linter/rules/jest/no-hooks.md +++ b/src/docs/guide/usage/linter/rules/jest/no-hooks.md @@ -81,4 +81,4 @@ oxlint --deny jest/no-hooks --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/no_hooks.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/no_hooks.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/no-identical-title.md b/src/docs/guide/usage/linter/rules/jest/no-identical-title.md index f6435f17e0..34db25b186 100644 --- a/src/docs/guide/usage/linter/rules/jest/no-identical-title.md +++ b/src/docs/guide/usage/linter/rules/jest/no-identical-title.md @@ -62,4 +62,4 @@ oxlint --deny jest/no-identical-title --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/no_identical_title.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/no_identical_title.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/no-interpolation-in-snapshots.md b/src/docs/guide/usage/linter/rules/jest/no-interpolation-in-snapshots.md index 2c2c170a8f..0391ba94ca 100644 --- a/src/docs/guide/usage/linter/rules/jest/no-interpolation-in-snapshots.md +++ b/src/docs/guide/usage/linter/rules/jest/no-interpolation-in-snapshots.md @@ -58,4 +58,4 @@ oxlint --deny jest/no-interpolation-in-snapshots --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/no_interpolation_in_snapshots.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/no_interpolation_in_snapshots.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/no-jasmine-globals.md b/src/docs/guide/usage/linter/rules/jest/no-jasmine-globals.md index 4424196bb9..f10e831869 100644 --- a/src/docs/guide/usage/linter/rules/jest/no-jasmine-globals.md +++ b/src/docs/guide/usage/linter/rules/jest/no-jasmine-globals.md @@ -47,4 +47,4 @@ oxlint --deny jest/no-jasmine-globals --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/no_jasmine_globals.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/no_jasmine_globals.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/no-large-snapshots.md b/src/docs/guide/usage/linter/rules/jest/no-large-snapshots.md index 7216c51b75..78b16658e8 100644 --- a/src/docs/guide/usage/linter/rules/jest/no-large-snapshots.md +++ b/src/docs/guide/usage/linter/rules/jest/no-large-snapshots.md @@ -111,4 +111,4 @@ oxlint --deny jest/no-large-snapshots --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/no_large_snapshots.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/no_large_snapshots.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/no-mocks-import.md b/src/docs/guide/usage/linter/rules/jest/no-mocks-import.md index 581110a638..6c257957f9 100644 --- a/src/docs/guide/usage/linter/rules/jest/no-mocks-import.md +++ b/src/docs/guide/usage/linter/rules/jest/no-mocks-import.md @@ -52,4 +52,4 @@ oxlint --deny jest/no-mocks-import --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/no_mocks_import.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/no_mocks_import.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/no-restricted-jest-methods.md b/src/docs/guide/usage/linter/rules/jest/no-restricted-jest-methods.md index 3ab50ff060..628ad392a1 100644 --- a/src/docs/guide/usage/linter/rules/jest/no-restricted-jest-methods.md +++ b/src/docs/guide/usage/linter/rules/jest/no-restricted-jest-methods.md @@ -51,4 +51,4 @@ oxlint --deny jest/no-restricted-jest-methods --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/no_restricted_jest_methods.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/no_restricted_jest_methods.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/no-restricted-matchers.md b/src/docs/guide/usage/linter/rules/jest/no-restricted-matchers.md index 15e1a23929..61bda52c4e 100644 --- a/src/docs/guide/usage/linter/rules/jest/no-restricted-matchers.md +++ b/src/docs/guide/usage/linter/rules/jest/no-restricted-matchers.md @@ -53,4 +53,4 @@ oxlint --deny jest/no-restricted-matchers --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/no_restricted_matchers.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/no_restricted_matchers.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/no-standalone-expect.md b/src/docs/guide/usage/linter/rules/jest/no-standalone-expect.md index 275de152ee..a1c6216508 100644 --- a/src/docs/guide/usage/linter/rules/jest/no-standalone-expect.md +++ b/src/docs/guide/usage/linter/rules/jest/no-standalone-expect.md @@ -48,4 +48,4 @@ oxlint --deny jest/no-standalone-expect --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/no_standalone_expect/mod.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/no_standalone_expect/mod.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/no-test-prefixes.md b/src/docs/guide/usage/linter/rules/jest/no-test-prefixes.md index 03992da5c0..b49a75b29f 100644 --- a/src/docs/guide/usage/linter/rules/jest/no-test-prefixes.md +++ b/src/docs/guide/usage/linter/rules/jest/no-test-prefixes.md @@ -66,4 +66,4 @@ oxlint --deny jest/no-test-prefixes --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/no_test_prefixes.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/no_test_prefixes.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/no-test-return-statement.md b/src/docs/guide/usage/linter/rules/jest/no-test-return-statement.md index fabd64f44d..7b799aec3c 100644 --- a/src/docs/guide/usage/linter/rules/jest/no-test-return-statement.md +++ b/src/docs/guide/usage/linter/rules/jest/no-test-return-statement.md @@ -46,4 +46,4 @@ oxlint --deny jest/no-test-return-statement --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/no_test_return_statement.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/no_test_return_statement.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/no-untyped-mock-factory.md b/src/docs/guide/usage/linter/rules/jest/no-untyped-mock-factory.md index 866561f03b..8930a06601 100644 --- a/src/docs/guide/usage/linter/rules/jest/no-untyped-mock-factory.md +++ b/src/docs/guide/usage/linter/rules/jest/no-untyped-mock-factory.md @@ -94,4 +94,4 @@ oxlint --deny jest/no-untyped-mock-factory --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/no_untyped_mock_factory.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/no_untyped_mock_factory.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/prefer-called-with.md b/src/docs/guide/usage/linter/rules/jest/prefer-called-with.md index f53fec2f3b..627ecfe9ee 100644 --- a/src/docs/guide/usage/linter/rules/jest/prefer-called-with.md +++ b/src/docs/guide/usage/linter/rules/jest/prefer-called-with.md @@ -46,4 +46,4 @@ oxlint --deny jest/prefer-called-with --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/prefer_called_with.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/prefer_called_with.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/prefer-comparison-matcher.md b/src/docs/guide/usage/linter/rules/jest/prefer-comparison-matcher.md index 2ac5bb2992..37117f70a3 100644 --- a/src/docs/guide/usage/linter/rules/jest/prefer-comparison-matcher.md +++ b/src/docs/guide/usage/linter/rules/jest/prefer-comparison-matcher.md @@ -59,4 +59,4 @@ oxlint --deny jest/prefer-comparison-matcher --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/prefer_comparison_matcher.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/prefer_comparison_matcher.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/prefer-each.md b/src/docs/guide/usage/linter/rules/jest/prefer-each.md index b419d53b76..d55cdbb7dd 100644 --- a/src/docs/guide/usage/linter/rules/jest/prefer-each.md +++ b/src/docs/guide/usage/linter/rules/jest/prefer-each.md @@ -58,4 +58,4 @@ oxlint --deny jest/prefer-each --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/prefer_each.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/prefer_each.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/prefer-equality-matcher.md b/src/docs/guide/usage/linter/rules/jest/prefer-equality-matcher.md index d728600ccb..e14b55cc19 100644 --- a/src/docs/guide/usage/linter/rules/jest/prefer-equality-matcher.md +++ b/src/docs/guide/usage/linter/rules/jest/prefer-equality-matcher.md @@ -47,4 +47,4 @@ oxlint --deny jest/prefer-equality-matcher --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/prefer_equality_matcher.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/prefer_equality_matcher.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/prefer-expect-resolves.md b/src/docs/guide/usage/linter/rules/jest/prefer-expect-resolves.md index 13d37a8217..4a25c86bf7 100644 --- a/src/docs/guide/usage/linter/rules/jest/prefer-expect-resolves.md +++ b/src/docs/guide/usage/linter/rules/jest/prefer-expect-resolves.md @@ -75,4 +75,4 @@ oxlint --deny jest/prefer-expect-resolves --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/prefer_expect_resolves.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/prefer_expect_resolves.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/prefer-hooks-in-order.md b/src/docs/guide/usage/linter/rules/jest/prefer-hooks-in-order.md index 14d1fb7392..55b78ca07a 100644 --- a/src/docs/guide/usage/linter/rules/jest/prefer-hooks-in-order.md +++ b/src/docs/guide/usage/linter/rules/jest/prefer-hooks-in-order.md @@ -7,6 +7,10 @@ ### What it does +Ensures that hooks are in the order that they are called in. + +### Why is this bad? + While hooks can be setup in any order, they're always called by `jest` in this specific order: @@ -18,10 +22,11 @@ specific order: This rule aims to make that more obvious by enforcing grouped hooks be setup in that order within tests. -### Example +### Examples + +Examples of **incorrect** code for this rule: ```javascript -// invalid describe("foo", () => { beforeEach(() => { seedMyDatabase(); @@ -40,7 +45,6 @@ describe("foo", () => { beforeEach(() => { seedMyDatabase(specificValue); }); - it("accepts that input", () => { // ... }); @@ -63,17 +67,16 @@ describe("foo", () => { }); ``` +Examples of **correct** code for this rule: + ```javascript -// valid describe("foo", () => { beforeAll(() => { createMyDatabase(); }); - beforeEach(() => { seedMyDatabase(); }); - it("accepts this input", () => { // ... }); @@ -110,13 +113,13 @@ describe("foo", () => { This rule is compatible with [eslint-plugin-vitest](https://github.com/veritem/eslint-plugin-vitest/blob/v1.1.9/docs/rules/prefer-hooks-in-order.md), to use it, add the following configuration to your `.eslintrc.json`: -````json +```json { "rules": { - "vitest/prefer-hooks-in-order": "error" + "vitest/prefer-hooks-in-order": "error" } } - +``` ## How to use @@ -126,7 +129,7 @@ To **enable** this rule in the CLI or using the config file, you can use: ```bash [CLI] oxlint --deny jest/prefer-hooks-in-order --jest-plugin -```` +``` ```json [Config (.oxlintrc.json)] { @@ -141,4 +144,4 @@ oxlint --deny jest/prefer-hooks-in-order --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/prefer_hooks_in_order.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/prefer_hooks_in_order.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/prefer-hooks-on-top.md b/src/docs/guide/usage/linter/rules/jest/prefer-hooks-on-top.md index e815cc3440..25ff895f3b 100644 --- a/src/docs/guide/usage/linter/rules/jest/prefer-hooks-on-top.md +++ b/src/docs/guide/usage/linter/rules/jest/prefer-hooks-on-top.md @@ -139,4 +139,4 @@ oxlint --deny jest/prefer-hooks-on-top --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/prefer_hooks_on_top.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/prefer_hooks_on_top.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/prefer-jest-mocked.md b/src/docs/guide/usage/linter/rules/jest/prefer-jest-mocked.md index 9fc68d3cb8..ff33ce98af 100644 --- a/src/docs/guide/usage/linter/rules/jest/prefer-jest-mocked.md +++ b/src/docs/guide/usage/linter/rules/jest/prefer-jest-mocked.md @@ -61,4 +61,4 @@ oxlint --deny jest/prefer-jest-mocked --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/prefer_jest_mocked.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/prefer_jest_mocked.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/prefer-lowercase-title.md b/src/docs/guide/usage/linter/rules/jest/prefer-lowercase-title.md index d31aefb603..bf45c542dc 100644 --- a/src/docs/guide/usage/linter/rules/jest/prefer-lowercase-title.md +++ b/src/docs/guide/usage/linter/rules/jest/prefer-lowercase-title.md @@ -159,4 +159,4 @@ oxlint --deny jest/prefer-lowercase-title --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/prefer_lowercase_title/mod.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/prefer_lowercase_title/mod.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/prefer-mock-promise-shorthand.md b/src/docs/guide/usage/linter/rules/jest/prefer-mock-promise-shorthand.md index 5572755081..f7ddf0a4a8 100644 --- a/src/docs/guide/usage/linter/rules/jest/prefer-mock-promise-shorthand.md +++ b/src/docs/guide/usage/linter/rules/jest/prefer-mock-promise-shorthand.md @@ -59,4 +59,4 @@ oxlint --deny jest/prefer-mock-promise-shorthand --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/prefer_mock_promise_shorthand.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/prefer_mock_promise_shorthand.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/prefer-spy-on.md b/src/docs/guide/usage/linter/rules/jest/prefer-spy-on.md index 84cdbeb13f..23093ad6cc 100644 --- a/src/docs/guide/usage/linter/rules/jest/prefer-spy-on.md +++ b/src/docs/guide/usage/linter/rules/jest/prefer-spy-on.md @@ -56,4 +56,4 @@ oxlint --deny jest/prefer-spy-on --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/prefer_spy_on.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/prefer_spy_on.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/prefer-strict-equal.md b/src/docs/guide/usage/linter/rules/jest/prefer-strict-equal.md index 674c7fe5ad..e8e245232f 100644 --- a/src/docs/guide/usage/linter/rules/jest/prefer-strict-equal.md +++ b/src/docs/guide/usage/linter/rules/jest/prefer-strict-equal.md @@ -45,4 +45,4 @@ oxlint --deny jest/prefer-strict-equal --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/prefer_strict_equal.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/prefer_strict_equal.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/prefer-to-be.md b/src/docs/guide/usage/linter/rules/jest/prefer-to-be.md index 0d86d52ad4..adc4038b68 100644 --- a/src/docs/guide/usage/linter/rules/jest/prefer-to-be.md +++ b/src/docs/guide/usage/linter/rules/jest/prefer-to-be.md @@ -57,4 +57,4 @@ oxlint --deny jest/prefer-to-be --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/prefer_to_be.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/prefer_to_be.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/prefer-to-contain.md b/src/docs/guide/usage/linter/rules/jest/prefer-to-contain.md index 391308ee7e..1490c6323b 100644 --- a/src/docs/guide/usage/linter/rules/jest/prefer-to-contain.md +++ b/src/docs/guide/usage/linter/rules/jest/prefer-to-contain.md @@ -53,4 +53,4 @@ oxlint --deny jest/prefer-to-contain --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/prefer_to_contain.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/prefer_to_contain.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/prefer-to-have-length.md b/src/docs/guide/usage/linter/rules/jest/prefer-to-have-length.md index c674b1c94c..363631363e 100644 --- a/src/docs/guide/usage/linter/rules/jest/prefer-to-have-length.md +++ b/src/docs/guide/usage/linter/rules/jest/prefer-to-have-length.md @@ -56,4 +56,4 @@ oxlint --deny jest/prefer-to-have-length --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/prefer_to_have_length.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/prefer_to_have_length.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/prefer-todo.md b/src/docs/guide/usage/linter/rules/jest/prefer-todo.md index f03659d9f4..ca12bfe6f4 100644 --- a/src/docs/guide/usage/linter/rules/jest/prefer-todo.md +++ b/src/docs/guide/usage/linter/rules/jest/prefer-todo.md @@ -50,4 +50,4 @@ oxlint --deny jest/prefer-todo --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/prefer_todo.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/prefer_todo.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/require-hook.md b/src/docs/guide/usage/linter/rules/jest/require-hook.md index 290577aca6..3cba219990 100644 --- a/src/docs/guide/usage/linter/rules/jest/require-hook.md +++ b/src/docs/guide/usage/linter/rules/jest/require-hook.md @@ -133,4 +133,4 @@ oxlint --deny jest/require-hook --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/require_hook.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/require_hook.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/require-to-throw-message.md b/src/docs/guide/usage/linter/rules/jest/require-to-throw-message.md index 8da2ccc07c..073cd3e523 100644 --- a/src/docs/guide/usage/linter/rules/jest/require-to-throw-message.md +++ b/src/docs/guide/usage/linter/rules/jest/require-to-throw-message.md @@ -55,4 +55,4 @@ oxlint --deny jest/require-to-throw-message --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/require_to_throw_message.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/require_to_throw_message.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/require-top-level-describe.md b/src/docs/guide/usage/linter/rules/jest/require-top-level-describe.md index ae5b9d5fee..d88acf68ab 100644 --- a/src/docs/guide/usage/linter/rules/jest/require-top-level-describe.md +++ b/src/docs/guide/usage/linter/rules/jest/require-top-level-describe.md @@ -87,4 +87,4 @@ oxlint --deny jest/require-top-level-describe --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/require_top_level_describe.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/require_top_level_describe.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/valid-describe-callback.md b/src/docs/guide/usage/linter/rules/jest/valid-describe-callback.md index 446966b0bf..632b2c5d3f 100644 --- a/src/docs/guide/usage/linter/rules/jest/valid-describe-callback.md +++ b/src/docs/guide/usage/linter/rules/jest/valid-describe-callback.md @@ -77,4 +77,4 @@ oxlint --deny jest/valid-describe-callback --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/valid_describe_callback.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/valid_describe_callback.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/valid-expect.md b/src/docs/guide/usage/linter/rules/jest/valid-expect.md index e1e0f93714..e9098002a9 100644 --- a/src/docs/guide/usage/linter/rules/jest/valid-expect.md +++ b/src/docs/guide/usage/linter/rules/jest/valid-expect.md @@ -69,4 +69,4 @@ oxlint --deny jest/valid-expect --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/valid_expect.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/valid_expect.rs) diff --git a/src/docs/guide/usage/linter/rules/jest/valid-title.md b/src/docs/guide/usage/linter/rules/jest/valid-title.md index 581861e9ae..6d14d66d7f 100644 --- a/src/docs/guide/usage/linter/rules/jest/valid-title.md +++ b/src/docs/guide/usage/linter/rules/jest/valid-title.md @@ -84,4 +84,4 @@ oxlint --deny jest/valid-title --jest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jest/valid_title.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jest/valid_title.rs) diff --git a/src/docs/guide/usage/linter/rules/jsdoc/check-access.md b/src/docs/guide/usage/linter/rules/jsdoc/check-access.md index d8f8e86e7f..24fc2c7b5f 100644 --- a/src/docs/guide/usage/linter/rules/jsdoc/check-access.md +++ b/src/docs/guide/usage/linter/rules/jsdoc/check-access.md @@ -61,4 +61,4 @@ oxlint --deny jsdoc/check-access --jsdoc-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsdoc/check_access.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsdoc/check_access.rs) diff --git a/src/docs/guide/usage/linter/rules/jsdoc/check-property-names.md b/src/docs/guide/usage/linter/rules/jsdoc/check-property-names.md index 93d4d0044c..b0dd5b6c31 100644 --- a/src/docs/guide/usage/linter/rules/jsdoc/check-property-names.md +++ b/src/docs/guide/usage/linter/rules/jsdoc/check-property-names.md @@ -71,4 +71,4 @@ oxlint --deny jsdoc/check-property-names --jsdoc-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsdoc/check_property_names.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsdoc/check_property_names.rs) diff --git a/src/docs/guide/usage/linter/rules/jsdoc/check-tag-names.md b/src/docs/guide/usage/linter/rules/jsdoc/check-tag-names.md index eba6d15ef5..f6c2ce6166 100644 --- a/src/docs/guide/usage/linter/rules/jsdoc/check-tag-names.md +++ b/src/docs/guide/usage/linter/rules/jsdoc/check-tag-names.md @@ -60,4 +60,4 @@ oxlint --deny jsdoc/check-tag-names --jsdoc-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsdoc/check_tag_names.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsdoc/check_tag_names.rs) diff --git a/src/docs/guide/usage/linter/rules/jsdoc/empty-tags.md b/src/docs/guide/usage/linter/rules/jsdoc/empty-tags.md index 429663e367..2db59e04e5 100644 --- a/src/docs/guide/usage/linter/rules/jsdoc/empty-tags.md +++ b/src/docs/guide/usage/linter/rules/jsdoc/empty-tags.md @@ -73,4 +73,4 @@ oxlint --deny jsdoc/empty-tags --jsdoc-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsdoc/empty_tags.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsdoc/empty_tags.rs) diff --git a/src/docs/guide/usage/linter/rules/jsdoc/implements-on-classes.md b/src/docs/guide/usage/linter/rules/jsdoc/implements-on-classes.md index f7a6c04ca6..da12a4d95c 100644 --- a/src/docs/guide/usage/linter/rules/jsdoc/implements-on-classes.md +++ b/src/docs/guide/usage/linter/rules/jsdoc/implements-on-classes.md @@ -67,4 +67,4 @@ oxlint --deny jsdoc/implements-on-classes --jsdoc-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsdoc/implements_on_classes.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsdoc/implements_on_classes.rs) diff --git a/src/docs/guide/usage/linter/rules/jsdoc/no-defaults.md b/src/docs/guide/usage/linter/rules/jsdoc/no-defaults.md index e045a0e921..2bcd586e34 100644 --- a/src/docs/guide/usage/linter/rules/jsdoc/no-defaults.md +++ b/src/docs/guide/usage/linter/rules/jsdoc/no-defaults.md @@ -60,4 +60,4 @@ oxlint --deny jsdoc/no-defaults --jsdoc-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsdoc/no_defaults.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsdoc/no_defaults.rs) diff --git a/src/docs/guide/usage/linter/rules/jsdoc/require-param-description.md b/src/docs/guide/usage/linter/rules/jsdoc/require-param-description.md index 084efd79d1..878fa06508 100644 --- a/src/docs/guide/usage/linter/rules/jsdoc/require-param-description.md +++ b/src/docs/guide/usage/linter/rules/jsdoc/require-param-description.md @@ -52,4 +52,4 @@ oxlint --deny jsdoc/require-param-description --jsdoc-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsdoc/require_param_description.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsdoc/require_param_description.rs) diff --git a/src/docs/guide/usage/linter/rules/jsdoc/require-param-name.md b/src/docs/guide/usage/linter/rules/jsdoc/require-param-name.md index 084a26cb23..f195aa3771 100644 --- a/src/docs/guide/usage/linter/rules/jsdoc/require-param-name.md +++ b/src/docs/guide/usage/linter/rules/jsdoc/require-param-name.md @@ -52,4 +52,4 @@ oxlint --deny jsdoc/require-param-name --jsdoc-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsdoc/require_param_name.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsdoc/require_param_name.rs) diff --git a/src/docs/guide/usage/linter/rules/jsdoc/require-param-type.md b/src/docs/guide/usage/linter/rules/jsdoc/require-param-type.md index c963599850..fa16f5de08 100644 --- a/src/docs/guide/usage/linter/rules/jsdoc/require-param-type.md +++ b/src/docs/guide/usage/linter/rules/jsdoc/require-param-type.md @@ -52,4 +52,4 @@ oxlint --deny jsdoc/require-param-type --jsdoc-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsdoc/require_param_type.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsdoc/require_param_type.rs) diff --git a/src/docs/guide/usage/linter/rules/jsdoc/require-param.md b/src/docs/guide/usage/linter/rules/jsdoc/require-param.md index d950a4cacd..e2e8521e67 100644 --- a/src/docs/guide/usage/linter/rules/jsdoc/require-param.md +++ b/src/docs/guide/usage/linter/rules/jsdoc/require-param.md @@ -52,4 +52,4 @@ oxlint --deny jsdoc/require-param --jsdoc-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsdoc/require_param.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsdoc/require_param.rs) diff --git a/src/docs/guide/usage/linter/rules/jsdoc/require-property-description.md b/src/docs/guide/usage/linter/rules/jsdoc/require-property-description.md index 0c5d8390b2..786d94f87b 100644 --- a/src/docs/guide/usage/linter/rules/jsdoc/require-property-description.md +++ b/src/docs/guide/usage/linter/rules/jsdoc/require-property-description.md @@ -59,4 +59,4 @@ oxlint --deny jsdoc/require-property-description --jsdoc-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsdoc/require_property_description.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsdoc/require_property_description.rs) diff --git a/src/docs/guide/usage/linter/rules/jsdoc/require-property-name.md b/src/docs/guide/usage/linter/rules/jsdoc/require-property-name.md index e1f01ddfa2..35585ac51d 100644 --- a/src/docs/guide/usage/linter/rules/jsdoc/require-property-name.md +++ b/src/docs/guide/usage/linter/rules/jsdoc/require-property-name.md @@ -59,4 +59,4 @@ oxlint --deny jsdoc/require-property-name --jsdoc-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsdoc/require_property_name.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsdoc/require_property_name.rs) diff --git a/src/docs/guide/usage/linter/rules/jsdoc/require-property-type.md b/src/docs/guide/usage/linter/rules/jsdoc/require-property-type.md index c4a3d7a415..3f7370c747 100644 --- a/src/docs/guide/usage/linter/rules/jsdoc/require-property-type.md +++ b/src/docs/guide/usage/linter/rules/jsdoc/require-property-type.md @@ -59,4 +59,4 @@ oxlint --deny jsdoc/require-property-type --jsdoc-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsdoc/require_property_type.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsdoc/require_property_type.rs) diff --git a/src/docs/guide/usage/linter/rules/jsdoc/require-property.md b/src/docs/guide/usage/linter/rules/jsdoc/require-property.md index 89af3ca675..65d755aca3 100644 --- a/src/docs/guide/usage/linter/rules/jsdoc/require-property.md +++ b/src/docs/guide/usage/linter/rules/jsdoc/require-property.md @@ -68,4 +68,4 @@ oxlint --deny jsdoc/require-property --jsdoc-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsdoc/require_property.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsdoc/require_property.rs) diff --git a/src/docs/guide/usage/linter/rules/jsdoc/require-returns-description.md b/src/docs/guide/usage/linter/rules/jsdoc/require-returns-description.md index 7a2d9c86a5..556a509d43 100644 --- a/src/docs/guide/usage/linter/rules/jsdoc/require-returns-description.md +++ b/src/docs/guide/usage/linter/rules/jsdoc/require-returns-description.md @@ -53,4 +53,4 @@ oxlint --deny jsdoc/require-returns-description --jsdoc-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsdoc/require_returns_description.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsdoc/require_returns_description.rs) diff --git a/src/docs/guide/usage/linter/rules/jsdoc/require-returns-type.md b/src/docs/guide/usage/linter/rules/jsdoc/require-returns-type.md index 75dce88fd9..31aa18fa7a 100644 --- a/src/docs/guide/usage/linter/rules/jsdoc/require-returns-type.md +++ b/src/docs/guide/usage/linter/rules/jsdoc/require-returns-type.md @@ -52,4 +52,4 @@ oxlint --deny jsdoc/require-returns-type --jsdoc-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsdoc/require_returns_type.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsdoc/require_returns_type.rs) diff --git a/src/docs/guide/usage/linter/rules/jsdoc/require-returns.md b/src/docs/guide/usage/linter/rules/jsdoc/require-returns.md index 603e68c9e9..de4842315a 100644 --- a/src/docs/guide/usage/linter/rules/jsdoc/require-returns.md +++ b/src/docs/guide/usage/linter/rules/jsdoc/require-returns.md @@ -65,4 +65,4 @@ oxlint --deny jsdoc/require-returns --jsdoc-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsdoc/require_returns.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsdoc/require_returns.rs) diff --git a/src/docs/guide/usage/linter/rules/jsdoc/require-yields.md b/src/docs/guide/usage/linter/rules/jsdoc/require-yields.md index ecb46b88f4..c491c009b2 100644 --- a/src/docs/guide/usage/linter/rules/jsdoc/require-yields.md +++ b/src/docs/guide/usage/linter/rules/jsdoc/require-yields.md @@ -65,4 +65,4 @@ oxlint --deny jsdoc/require-yields --jsdoc-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsdoc/require_yields.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsdoc/require_yields.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/alt-text.md b/src/docs/guide/usage/linter/rules/jsx_a11y/alt-text.md index b573b90c79..6ec327b4c4 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/alt-text.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/alt-text.md @@ -66,4 +66,4 @@ oxlint --deny jsx-a11y/alt-text --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/alt_text.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/alt_text.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/anchor-ambiguous-text.md b/src/docs/guide/usage/linter/rules/jsx_a11y/anchor-ambiguous-text.md index 44133fc101..4bfa123e48 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/anchor-ambiguous-text.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/anchor-ambiguous-text.md @@ -60,4 +60,4 @@ oxlint --deny jsx-a11y/anchor-ambiguous-text --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/anchor_ambiguous_text.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/anchor_ambiguous_text.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/anchor-has-content.md b/src/docs/guide/usage/linter/rules/jsx_a11y/anchor-has-content.md index ab9c23ed08..903d1c735a 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/anchor-has-content.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/anchor-has-content.md @@ -62,4 +62,4 @@ oxlint --deny jsx-a11y/anchor-has-content --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/anchor_has_content.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/anchor_has_content.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/anchor-is-valid.md b/src/docs/guide/usage/linter/rules/jsx_a11y/anchor-is-valid.md index fa5d3c7720..c4520e0ea6 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/anchor-is-valid.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/anchor-is-valid.md @@ -106,4 +106,4 @@ oxlint --deny jsx-a11y/anchor-is-valid --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/anchor_is_valid.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/anchor_is_valid.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/aria-activedescendant-has-tabindex.md b/src/docs/guide/usage/linter/rules/jsx_a11y/aria-activedescendant-has-tabindex.md index dcbcfe11e0..0a81ddc156 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/aria-activedescendant-has-tabindex.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/aria-activedescendant-has-tabindex.md @@ -61,4 +61,4 @@ oxlint --deny jsx-a11y/aria-activedescendant-has-tabindex --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/aria_activedescendant_has_tabindex.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/aria_activedescendant_has_tabindex.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/aria-props.md b/src/docs/guide/usage/linter/rules/jsx_a11y/aria-props.md index 386b5bb709..26125ebfec 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/aria-props.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/aria-props.md @@ -60,4 +60,4 @@ oxlint --deny jsx-a11y/aria-props --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/aria_props.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/aria_props.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/aria-role.md b/src/docs/guide/usage/linter/rules/jsx_a11y/aria-role.md index 1609d9503e..ff34a959a7 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/aria-role.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/aria-role.md @@ -107,4 +107,4 @@ oxlint --deny jsx-a11y/aria-role --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/aria_role.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/aria_role.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/aria-unsupported-elements.md b/src/docs/guide/usage/linter/rules/jsx_a11y/aria-unsupported-elements.md index a190a5490a..f41431165c 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/aria-unsupported-elements.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/aria-unsupported-elements.md @@ -55,4 +55,4 @@ oxlint --deny jsx-a11y/aria-unsupported-elements --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/aria_unsupported_elements.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/aria_unsupported_elements.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/autocomplete-valid.md b/src/docs/guide/usage/linter/rules/jsx_a11y/autocomplete-valid.md index c21455ae17..1ad23c7a77 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/autocomplete-valid.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/autocomplete-valid.md @@ -53,4 +53,4 @@ oxlint --deny jsx-a11y/autocomplete-valid --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/autocomplete_valid.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/autocomplete_valid.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/click-events-have-key-events.md b/src/docs/guide/usage/linter/rules/jsx_a11y/click-events-have-key-events.md index 91a87a8dfc..e0f2ca1d28 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/click-events-have-key-events.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/click-events-have-key-events.md @@ -54,4 +54,4 @@ oxlint --deny jsx-a11y/click-events-have-key-events --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/click_events_have_key_events.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/click_events_have_key_events.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/heading-has-content.md b/src/docs/guide/usage/linter/rules/jsx_a11y/heading-has-content.md index fe86a08ebc..3161712127 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/heading-has-content.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/heading-has-content.md @@ -58,4 +58,4 @@ oxlint --deny jsx-a11y/heading-has-content --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/heading_has_content.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/heading_has_content.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/html-has-lang.md b/src/docs/guide/usage/linter/rules/jsx_a11y/html-has-lang.md index 4d24be7f36..b95c3a474a 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/html-has-lang.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/html-has-lang.md @@ -56,4 +56,4 @@ oxlint --deny jsx-a11y/html-has-lang --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/html_has_lang.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/html_has_lang.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/iframe-has-title.md b/src/docs/guide/usage/linter/rules/jsx_a11y/iframe-has-title.md index 28290fd3bb..3c762b51fd 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/iframe-has-title.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/iframe-has-title.md @@ -67,4 +67,4 @@ oxlint --deny jsx-a11y/iframe-has-title --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/iframe_has_title.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/iframe_has_title.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/img-redundant-alt.md b/src/docs/guide/usage/linter/rules/jsx_a11y/img-redundant-alt.md index 43a91f4622..e075ae2b7d 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/img-redundant-alt.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/img-redundant-alt.md @@ -65,4 +65,4 @@ oxlint --deny jsx-a11y/img-redundant-alt --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/img_redundant_alt.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/img_redundant_alt.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/label-has-associated-control.md b/src/docs/guide/usage/linter/rules/jsx_a11y/label-has-associated-control.md index 9ae12bff75..91e1a18098 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/label-has-associated-control.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/label-has-associated-control.md @@ -67,4 +67,4 @@ oxlint --deny jsx-a11y/label-has-associated-control --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/label_has_associated_control.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/label_has_associated_control.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/lang.md b/src/docs/guide/usage/linter/rules/jsx_a11y/lang.md index b1c025d084..4485c92c07 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/lang.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/lang.md @@ -63,4 +63,4 @@ oxlint --deny jsx-a11y/lang --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/lang.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/lang.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/media-has-caption.md b/src/docs/guide/usage/linter/rules/jsx_a11y/media-has-caption.md index c7417cddfa..e87a53c000 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/media-has-caption.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/media-has-caption.md @@ -57,4 +57,4 @@ oxlint --deny jsx-a11y/media-has-caption --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/media_has_caption.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/media_has_caption.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/mouse-events-have-key-events.md b/src/docs/guide/usage/linter/rules/jsx_a11y/mouse-events-have-key-events.md index 1cb31b96b7..d041b9cac1 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/mouse-events-have-key-events.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/mouse-events-have-key-events.md @@ -54,4 +54,4 @@ oxlint --deny jsx-a11y/mouse-events-have-key-events --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/mouse_events_have_key_events.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/mouse_events_have_key_events.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/no-access-key.md b/src/docs/guide/usage/linter/rules/jsx_a11y/no-access-key.md index 5c7adb2fd9..a305ab4f07 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/no-access-key.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/no-access-key.md @@ -57,4 +57,4 @@ oxlint --deny jsx-a11y/no-access-key --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/no_access_key.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/no_access_key.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/no-aria-hidden-on-focusable.md b/src/docs/guide/usage/linter/rules/jsx_a11y/no-aria-hidden-on-focusable.md index 31ff3d02d3..fa615a2caa 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/no-aria-hidden-on-focusable.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/no-aria-hidden-on-focusable.md @@ -56,4 +56,4 @@ oxlint --deny jsx-a11y/no-aria-hidden-on-focusable --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/no_aria_hidden_on_focusable.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/no_aria_hidden_on_focusable.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/no-autofocus.md b/src/docs/guide/usage/linter/rules/jsx_a11y/no-autofocus.md index 4ef0f602cf..c4986d080d 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/no-autofocus.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/no-autofocus.md @@ -77,4 +77,4 @@ oxlint --deny jsx-a11y/no-autofocus --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/no_autofocus.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/no_autofocus.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/no-distracting-elements.md b/src/docs/guide/usage/linter/rules/jsx_a11y/no-distracting-elements.md index 8fbd00e91c..4af893833e 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/no-distracting-elements.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/no-distracting-elements.md @@ -67,4 +67,4 @@ oxlint --deny jsx-a11y/no-distracting-elements --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/no_distracting_elements.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/no_distracting_elements.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/no-noninteractive-tabindex.md b/src/docs/guide/usage/linter/rules/jsx_a11y/no-noninteractive-tabindex.md index a66ded9681..779e804397 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/no-noninteractive-tabindex.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/no-noninteractive-tabindex.md @@ -70,4 +70,4 @@ oxlint --deny jsx-a11y/no-noninteractive-tabindex --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/no_noninteractive_tabindex.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/no_noninteractive_tabindex.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/no-redundant-roles.md b/src/docs/guide/usage/linter/rules/jsx_a11y/no-redundant-roles.md index 281ac4d4ef..c0fa67d116 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/no-redundant-roles.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/no-redundant-roles.md @@ -57,4 +57,4 @@ oxlint --deny jsx-a11y/no-redundant-roles --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/no_redundant_roles.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/no_redundant_roles.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/prefer-tag-over-role.md b/src/docs/guide/usage/linter/rules/jsx_a11y/prefer-tag-over-role.md index 46d73b3756..a94f88909b 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/prefer-tag-over-role.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/prefer-tag-over-role.md @@ -53,4 +53,4 @@ oxlint --deny jsx-a11y/prefer-tag-over-role --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/prefer_tag_over_role.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/prefer_tag_over_role.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/role-has-required-aria-props.md b/src/docs/guide/usage/linter/rules/jsx_a11y/role-has-required-aria-props.md index 66e0f62df9..1cb36fc487 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/role-has-required-aria-props.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/role-has-required-aria-props.md @@ -55,4 +55,4 @@ oxlint --deny jsx-a11y/role-has-required-aria-props --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/role_has_required_aria_props.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/role_has_required_aria_props.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/role-supports-aria-props.md b/src/docs/guide/usage/linter/rules/jsx_a11y/role-supports-aria-props.md index 2f30efb393..fb4fdd3156 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/role-supports-aria-props.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/role-supports-aria-props.md @@ -57,4 +57,4 @@ oxlint --deny jsx-a11y/role-supports-aria-props --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/role_supports_aria_props.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/role_supports_aria_props.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/scope.md b/src/docs/guide/usage/linter/rules/jsx_a11y/scope.md index 68286f2dc5..6c4bcb64a0 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/scope.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/scope.md @@ -59,4 +59,4 @@ oxlint --deny jsx-a11y/scope --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/scope.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/scope.rs) diff --git a/src/docs/guide/usage/linter/rules/jsx_a11y/tabindex-no-positive.md b/src/docs/guide/usage/linter/rules/jsx_a11y/tabindex-no-positive.md index 2c4de6ce94..d34c38821d 100644 --- a/src/docs/guide/usage/linter/rules/jsx_a11y/tabindex-no-positive.md +++ b/src/docs/guide/usage/linter/rules/jsx_a11y/tabindex-no-positive.md @@ -60,4 +60,4 @@ oxlint --deny jsx-a11y/tabindex-no-positive --jsx-a11y-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/jsx_a11y/tabindex_no_positive.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/jsx_a11y/tabindex_no_positive.rs) diff --git a/src/docs/guide/usage/linter/rules/nextjs/google-font-display.md b/src/docs/guide/usage/linter/rules/nextjs/google-font-display.md index 09a16f2479..d54100ac61 100644 --- a/src/docs/guide/usage/linter/rules/nextjs/google-font-display.md +++ b/src/docs/guide/usage/linter/rules/nextjs/google-font-display.md @@ -71,4 +71,4 @@ oxlint --deny nextjs/google-font-display --nextjs-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/nextjs/google_font_display.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/nextjs/google_font_display.rs) diff --git a/src/docs/guide/usage/linter/rules/nextjs/google-font-preconnect.md b/src/docs/guide/usage/linter/rules/nextjs/google-font-preconnect.md index 38c2ae5f61..b58993bcce 100644 --- a/src/docs/guide/usage/linter/rules/nextjs/google-font-preconnect.md +++ b/src/docs/guide/usage/linter/rules/nextjs/google-font-preconnect.md @@ -41,4 +41,4 @@ oxlint --deny nextjs/google-font-preconnect --nextjs-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/nextjs/google_font_preconnect.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/nextjs/google_font_preconnect.rs) diff --git a/src/docs/guide/usage/linter/rules/nextjs/inline-script-id.md b/src/docs/guide/usage/linter/rules/nextjs/inline-script-id.md index d23c99c02b..817df36fdf 100644 --- a/src/docs/guide/usage/linter/rules/nextjs/inline-script-id.md +++ b/src/docs/guide/usage/linter/rules/nextjs/inline-script-id.md @@ -41,4 +41,4 @@ oxlint --deny nextjs/inline-script-id --nextjs-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/nextjs/inline_script_id.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/nextjs/inline_script_id.rs) diff --git a/src/docs/guide/usage/linter/rules/nextjs/next-script-for-ga.md b/src/docs/guide/usage/linter/rules/nextjs/next-script-for-ga.md index 31e806ceed..bcfbeaa5c6 100644 --- a/src/docs/guide/usage/linter/rules/nextjs/next-script-for-ga.md +++ b/src/docs/guide/usage/linter/rules/nextjs/next-script-for-ga.md @@ -41,4 +41,4 @@ oxlint --deny nextjs/next-script-for-ga --nextjs-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/nextjs/next_script_for_ga.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/nextjs/next_script_for_ga.rs) diff --git a/src/docs/guide/usage/linter/rules/nextjs/no-assign-module-variable.md b/src/docs/guide/usage/linter/rules/nextjs/no-assign-module-variable.md index 01cdd85a52..75101b3242 100644 --- a/src/docs/guide/usage/linter/rules/nextjs/no-assign-module-variable.md +++ b/src/docs/guide/usage/linter/rules/nextjs/no-assign-module-variable.md @@ -41,4 +41,4 @@ oxlint --deny nextjs/no-assign-module-variable --nextjs-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/nextjs/no_assign_module_variable.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/nextjs/no_assign_module_variable.rs) diff --git a/src/docs/guide/usage/linter/rules/nextjs/no-async-client-component.md b/src/docs/guide/usage/linter/rules/nextjs/no-async-client-component.md index 5c5d6abd99..5cb931a42b 100644 --- a/src/docs/guide/usage/linter/rules/nextjs/no-async-client-component.md +++ b/src/docs/guide/usage/linter/rules/nextjs/no-async-client-component.md @@ -41,4 +41,4 @@ oxlint --deny nextjs/no-async-client-component --nextjs-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/nextjs/no_async_client_component.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/nextjs/no_async_client_component.rs) diff --git a/src/docs/guide/usage/linter/rules/nextjs/no-before-interactive-script-outside-document.md b/src/docs/guide/usage/linter/rules/nextjs/no-before-interactive-script-outside-document.md index d0c97a2607..fbd8576a84 100644 --- a/src/docs/guide/usage/linter/rules/nextjs/no-before-interactive-script-outside-document.md +++ b/src/docs/guide/usage/linter/rules/nextjs/no-before-interactive-script-outside-document.md @@ -43,4 +43,4 @@ oxlint --deny nextjs/no-before-interactive-script-outside-document --nextjs-plug ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/nextjs/no_before_interactive_script_outside_document.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/nextjs/no_before_interactive_script_outside_document.rs) diff --git a/src/docs/guide/usage/linter/rules/nextjs/no-css-tags.md b/src/docs/guide/usage/linter/rules/nextjs/no-css-tags.md index 1445d12009..4b02d29cae 100644 --- a/src/docs/guide/usage/linter/rules/nextjs/no-css-tags.md +++ b/src/docs/guide/usage/linter/rules/nextjs/no-css-tags.md @@ -41,4 +41,4 @@ oxlint --deny nextjs/no-css-tags --nextjs-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/nextjs/no_css_tags.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/nextjs/no_css_tags.rs) diff --git a/src/docs/guide/usage/linter/rules/nextjs/no-document-import-in-page.md b/src/docs/guide/usage/linter/rules/nextjs/no-document-import-in-page.md index 8c83dcaae2..2a5c31fc5f 100644 --- a/src/docs/guide/usage/linter/rules/nextjs/no-document-import-in-page.md +++ b/src/docs/guide/usage/linter/rules/nextjs/no-document-import-in-page.md @@ -43,4 +43,4 @@ oxlint --deny nextjs/no-document-import-in-page --nextjs-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/nextjs/no_document_import_in_page.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/nextjs/no_document_import_in_page.rs) diff --git a/src/docs/guide/usage/linter/rules/nextjs/no-duplicate-head.md b/src/docs/guide/usage/linter/rules/nextjs/no-duplicate-head.md index 898ef8b45d..43b8ae03d1 100644 --- a/src/docs/guide/usage/linter/rules/nextjs/no-duplicate-head.md +++ b/src/docs/guide/usage/linter/rules/nextjs/no-duplicate-head.md @@ -60,4 +60,4 @@ oxlint --deny nextjs/no-duplicate-head --nextjs-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/nextjs/no_duplicate_head.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/nextjs/no_duplicate_head.rs) diff --git a/src/docs/guide/usage/linter/rules/nextjs/no-head-element.md b/src/docs/guide/usage/linter/rules/nextjs/no-head-element.md index 23de1cf613..1c3748cebd 100644 --- a/src/docs/guide/usage/linter/rules/nextjs/no-head-element.md +++ b/src/docs/guide/usage/linter/rules/nextjs/no-head-element.md @@ -43,4 +43,4 @@ oxlint --deny nextjs/no-head-element --nextjs-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/nextjs/no_head_element.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/nextjs/no_head_element.rs) diff --git a/src/docs/guide/usage/linter/rules/nextjs/no-head-import-in-document.md b/src/docs/guide/usage/linter/rules/nextjs/no-head-import-in-document.md index 71ed96466f..8aa4d620a2 100644 --- a/src/docs/guide/usage/linter/rules/nextjs/no-head-import-in-document.md +++ b/src/docs/guide/usage/linter/rules/nextjs/no-head-import-in-document.md @@ -41,4 +41,4 @@ oxlint --deny nextjs/no-head-import-in-document --nextjs-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/nextjs/no_head_import_in_document.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/nextjs/no_head_import_in_document.rs) diff --git a/src/docs/guide/usage/linter/rules/nextjs/no-img-element.md b/src/docs/guide/usage/linter/rules/nextjs/no-img-element.md index b3e024ccc3..6e1b9905cf 100644 --- a/src/docs/guide/usage/linter/rules/nextjs/no-img-element.md +++ b/src/docs/guide/usage/linter/rules/nextjs/no-img-element.md @@ -41,4 +41,4 @@ oxlint --deny nextjs/no-img-element --nextjs-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/nextjs/no_img_element.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/nextjs/no_img_element.rs) diff --git a/src/docs/guide/usage/linter/rules/nextjs/no-page-custom-font.md b/src/docs/guide/usage/linter/rules/nextjs/no-page-custom-font.md index eca42c2813..4af5223ffc 100644 --- a/src/docs/guide/usage/linter/rules/nextjs/no-page-custom-font.md +++ b/src/docs/guide/usage/linter/rules/nextjs/no-page-custom-font.md @@ -46,4 +46,4 @@ oxlint --deny nextjs/no-page-custom-font --nextjs-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/nextjs/no_page_custom_font.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/nextjs/no_page_custom_font.rs) diff --git a/src/docs/guide/usage/linter/rules/nextjs/no-script-component-in-head.md b/src/docs/guide/usage/linter/rules/nextjs/no-script-component-in-head.md index 0f14e24813..df2c54d0f2 100644 --- a/src/docs/guide/usage/linter/rules/nextjs/no-script-component-in-head.md +++ b/src/docs/guide/usage/linter/rules/nextjs/no-script-component-in-head.md @@ -41,4 +41,4 @@ oxlint --deny nextjs/no-script-component-in-head --nextjs-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/nextjs/no_script_component_in_head.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/nextjs/no_script_component_in_head.rs) diff --git a/src/docs/guide/usage/linter/rules/nextjs/no-styled-jsx-in-document.md b/src/docs/guide/usage/linter/rules/nextjs/no-styled-jsx-in-document.md index b5cf3ed373..8ad28cb3be 100644 --- a/src/docs/guide/usage/linter/rules/nextjs/no-styled-jsx-in-document.md +++ b/src/docs/guide/usage/linter/rules/nextjs/no-styled-jsx-in-document.md @@ -45,4 +45,4 @@ oxlint --deny nextjs/no-styled-jsx-in-document --nextjs-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/nextjs/no_styled_jsx_in_document.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/nextjs/no_styled_jsx_in_document.rs) diff --git a/src/docs/guide/usage/linter/rules/nextjs/no-sync-scripts.md b/src/docs/guide/usage/linter/rules/nextjs/no-sync-scripts.md index 292c0f9d2a..14bacc811e 100644 --- a/src/docs/guide/usage/linter/rules/nextjs/no-sync-scripts.md +++ b/src/docs/guide/usage/linter/rules/nextjs/no-sync-scripts.md @@ -41,4 +41,4 @@ oxlint --deny nextjs/no-sync-scripts --nextjs-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/nextjs/no_sync_scripts.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/nextjs/no_sync_scripts.rs) diff --git a/src/docs/guide/usage/linter/rules/nextjs/no-title-in-document-head.md b/src/docs/guide/usage/linter/rules/nextjs/no-title-in-document-head.md index f52d78c125..b5dfabded1 100644 --- a/src/docs/guide/usage/linter/rules/nextjs/no-title-in-document-head.md +++ b/src/docs/guide/usage/linter/rules/nextjs/no-title-in-document-head.md @@ -41,4 +41,4 @@ oxlint --deny nextjs/no-title-in-document-head --nextjs-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/nextjs/no_title_in_document_head.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/nextjs/no_title_in_document_head.rs) diff --git a/src/docs/guide/usage/linter/rules/nextjs/no-typos.md b/src/docs/guide/usage/linter/rules/nextjs/no-typos.md index edbb914d43..89060dc2b3 100644 --- a/src/docs/guide/usage/linter/rules/nextjs/no-typos.md +++ b/src/docs/guide/usage/linter/rules/nextjs/no-typos.md @@ -49,4 +49,4 @@ oxlint --deny nextjs/no-typos --nextjs-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/nextjs/no_typos.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/nextjs/no_typos.rs) diff --git a/src/docs/guide/usage/linter/rules/nextjs/no-unwanted-polyfillio.md b/src/docs/guide/usage/linter/rules/nextjs/no-unwanted-polyfillio.md index 4328b7c07d..5d194aa493 100644 --- a/src/docs/guide/usage/linter/rules/nextjs/no-unwanted-polyfillio.md +++ b/src/docs/guide/usage/linter/rules/nextjs/no-unwanted-polyfillio.md @@ -47,4 +47,4 @@ oxlint --deny nextjs/no-unwanted-polyfillio --nextjs-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/nextjs/no_unwanted_polyfillio.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/nextjs/no_unwanted_polyfillio.rs) diff --git a/src/docs/guide/usage/linter/rules/node/no-exports-assign.md b/src/docs/guide/usage/linter/rules/node/no-exports-assign.md index 7669726f05..be78103dfa 100644 --- a/src/docs/guide/usage/linter/rules/node/no-exports-assign.md +++ b/src/docs/guide/usage/linter/rules/node/no-exports-assign.md @@ -66,4 +66,4 @@ oxlint --deny node/no-exports-assign --node-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/node/no_exports_assign.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/node/no_exports_assign.rs) diff --git a/src/docs/guide/usage/linter/rules/node/no-new-require.md b/src/docs/guide/usage/linter/rules/node/no-new-require.md index 9f0aab2eac..c9ec2f0cfa 100644 --- a/src/docs/guide/usage/linter/rules/node/no-new-require.md +++ b/src/docs/guide/usage/linter/rules/node/no-new-require.md @@ -52,4 +52,4 @@ oxlint --deny node/no-new-require --node-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/node/no_new_require.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/node/no_new_require.rs) diff --git a/src/docs/guide/usage/linter/rules/oxc/approx-constant.md b/src/docs/guide/usage/linter/rules/oxc/approx-constant.md index 37a6c71cb8..b6c4fe75af 100644 --- a/src/docs/guide/usage/linter/rules/oxc/approx-constant.md +++ b/src/docs/guide/usage/linter/rules/oxc/approx-constant.md @@ -50,4 +50,4 @@ oxlint --deny oxc/approx-constant ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/oxc/approx_constant.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/oxc/approx_constant.rs) diff --git a/src/docs/guide/usage/linter/rules/oxc/bad-array-method-on-arguments.md b/src/docs/guide/usage/linter/rules/oxc/bad-array-method-on-arguments.md index 20bb32e8e0..d29cdf7d01 100644 --- a/src/docs/guide/usage/linter/rules/oxc/bad-array-method-on-arguments.md +++ b/src/docs/guide/usage/linter/rules/oxc/bad-array-method-on-arguments.md @@ -50,4 +50,4 @@ oxlint --deny oxc/bad-array-method-on-arguments ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/oxc/bad_array_method_on_arguments.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/oxc/bad_array_method_on_arguments.rs) diff --git a/src/docs/guide/usage/linter/rules/oxc/bad-bitwise-operator.md b/src/docs/guide/usage/linter/rules/oxc/bad-bitwise-operator.md index 39ad4e5ccc..9e5647c065 100644 --- a/src/docs/guide/usage/linter/rules/oxc/bad-bitwise-operator.md +++ b/src/docs/guide/usage/linter/rules/oxc/bad-bitwise-operator.md @@ -54,4 +54,4 @@ oxlint --deny oxc/bad-bitwise-operator ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/oxc/bad_bitwise_operator.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/oxc/bad_bitwise_operator.rs) diff --git a/src/docs/guide/usage/linter/rules/oxc/bad-char-at-comparison.md b/src/docs/guide/usage/linter/rules/oxc/bad-char-at-comparison.md index 1a6464c00e..abea1dc5ed 100644 --- a/src/docs/guide/usage/linter/rules/oxc/bad-char-at-comparison.md +++ b/src/docs/guide/usage/linter/rules/oxc/bad-char-at-comparison.md @@ -54,4 +54,4 @@ oxlint --deny oxc/bad-char-at-comparison ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/oxc/bad_char_at_comparison.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/oxc/bad_char_at_comparison.rs) diff --git a/src/docs/guide/usage/linter/rules/oxc/bad-comparison-sequence.md b/src/docs/guide/usage/linter/rules/oxc/bad-comparison-sequence.md index 34a33991b9..7439b87943 100644 --- a/src/docs/guide/usage/linter/rules/oxc/bad-comparison-sequence.md +++ b/src/docs/guide/usage/linter/rules/oxc/bad-comparison-sequence.md @@ -47,4 +47,4 @@ oxlint --deny oxc/bad-comparison-sequence ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/oxc/bad_comparison_sequence.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/oxc/bad_comparison_sequence.rs) diff --git a/src/docs/guide/usage/linter/rules/oxc/bad-min-max-func.md b/src/docs/guide/usage/linter/rules/oxc/bad-min-max-func.md index e77886ac61..37e1c0a2b2 100644 --- a/src/docs/guide/usage/linter/rules/oxc/bad-min-max-func.md +++ b/src/docs/guide/usage/linter/rules/oxc/bad-min-max-func.md @@ -56,4 +56,4 @@ oxlint --deny oxc/bad-min-max-func ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/oxc/bad_min_max_func.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/oxc/bad_min_max_func.rs) diff --git a/src/docs/guide/usage/linter/rules/oxc/bad-object-literal-comparison.md b/src/docs/guide/usage/linter/rules/oxc/bad-object-literal-comparison.md index be79653ee1..44ea0eb038 100644 --- a/src/docs/guide/usage/linter/rules/oxc/bad-object-literal-comparison.md +++ b/src/docs/guide/usage/linter/rules/oxc/bad-object-literal-comparison.md @@ -60,4 +60,4 @@ oxlint --deny oxc/bad-object-literal-comparison ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/oxc/bad_object_literal_comparison.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/oxc/bad_object_literal_comparison.rs) diff --git a/src/docs/guide/usage/linter/rules/oxc/bad-replace-all-arg.md b/src/docs/guide/usage/linter/rules/oxc/bad-replace-all-arg.md index 501d7ce30a..ab98216d0e 100644 --- a/src/docs/guide/usage/linter/rules/oxc/bad-replace-all-arg.md +++ b/src/docs/guide/usage/linter/rules/oxc/bad-replace-all-arg.md @@ -52,4 +52,4 @@ oxlint --deny oxc/bad-replace-all-arg ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/oxc/bad_replace_all_arg.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/oxc/bad_replace_all_arg.rs) diff --git a/src/docs/guide/usage/linter/rules/oxc/const-comparisons.md b/src/docs/guide/usage/linter/rules/oxc/const-comparisons.md index 262719f816..b39d525e18 100644 --- a/src/docs/guide/usage/linter/rules/oxc/const-comparisons.md +++ b/src/docs/guide/usage/linter/rules/oxc/const-comparisons.md @@ -67,4 +67,4 @@ oxlint --deny oxc/const-comparisons ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/oxc/const_comparisons.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/oxc/const_comparisons.rs) diff --git a/src/docs/guide/usage/linter/rules/oxc/double-comparisons.md b/src/docs/guide/usage/linter/rules/oxc/double-comparisons.md index d8d5c18a5d..1ab66ba2d1 100644 --- a/src/docs/guide/usage/linter/rules/oxc/double-comparisons.md +++ b/src/docs/guide/usage/linter/rules/oxc/double-comparisons.md @@ -57,4 +57,4 @@ oxlint --deny oxc/double-comparisons ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/oxc/double_comparisons.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/oxc/double_comparisons.rs) diff --git a/src/docs/guide/usage/linter/rules/oxc/erasing-op.md b/src/docs/guide/usage/linter/rules/oxc/erasing-op.md index 80bae81ecf..9e4737eb96 100644 --- a/src/docs/guide/usage/linter/rules/oxc/erasing-op.md +++ b/src/docs/guide/usage/linter/rules/oxc/erasing-op.md @@ -59,4 +59,4 @@ oxlint --deny oxc/erasing-op ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/oxc/erasing_op.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/oxc/erasing_op.rs) diff --git a/src/docs/guide/usage/linter/rules/oxc/misrefactored-assign-op.md b/src/docs/guide/usage/linter/rules/oxc/misrefactored-assign-op.md index 64f40e178f..5318c3cc3a 100644 --- a/src/docs/guide/usage/linter/rules/oxc/misrefactored-assign-op.md +++ b/src/docs/guide/usage/linter/rules/oxc/misrefactored-assign-op.md @@ -56,4 +56,4 @@ oxlint --deny oxc/misrefactored-assign-op ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/oxc/misrefactored_assign_op.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/oxc/misrefactored_assign_op.rs) diff --git a/src/docs/guide/usage/linter/rules/oxc/missing-throw.md b/src/docs/guide/usage/linter/rules/oxc/missing-throw.md index 3592142dd4..bee6c61898 100644 --- a/src/docs/guide/usage/linter/rules/oxc/missing-throw.md +++ b/src/docs/guide/usage/linter/rules/oxc/missing-throw.md @@ -65,4 +65,4 @@ oxlint --deny oxc/missing-throw ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/oxc/missing_throw.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/oxc/missing_throw.rs) diff --git a/src/docs/guide/usage/linter/rules/oxc/no-accumulating-spread.md b/src/docs/guide/usage/linter/rules/oxc/no-accumulating-spread.md index 69259f48c0..d6f11876d5 100644 --- a/src/docs/guide/usage/linter/rules/oxc/no-accumulating-spread.md +++ b/src/docs/guide/usage/linter/rules/oxc/no-accumulating-spread.md @@ -79,4 +79,4 @@ oxlint --deny oxc/no-accumulating-spread ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/oxc/no_accumulating_spread.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/oxc/no_accumulating_spread.rs) diff --git a/src/docs/guide/usage/linter/rules/oxc/no-async-await.md b/src/docs/guide/usage/linter/rules/oxc/no-async-await.md index ff81941c84..bda267ec9e 100644 --- a/src/docs/guide/usage/linter/rules/oxc/no-async-await.md +++ b/src/docs/guide/usage/linter/rules/oxc/no-async-await.md @@ -40,4 +40,4 @@ oxlint --deny oxc/no-async-await ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/oxc/no_async_await.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/oxc/no_async_await.rs) diff --git a/src/docs/guide/usage/linter/rules/oxc/no-async-endpoint-handlers.md b/src/docs/guide/usage/linter/rules/oxc/no-async-endpoint-handlers.md index ff4d6c1ceb..e67b461d7b 100644 --- a/src/docs/guide/usage/linter/rules/oxc/no-async-endpoint-handlers.md +++ b/src/docs/guide/usage/linter/rules/oxc/no-async-endpoint-handlers.md @@ -134,4 +134,4 @@ oxlint --deny oxc/no-async-endpoint-handlers ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/oxc/no_async_endpoint_handlers.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/oxc/no_async_endpoint_handlers.rs) diff --git a/src/docs/guide/usage/linter/rules/oxc/no-barrel-file.md b/src/docs/guide/usage/linter/rules/oxc/no-barrel-file.md index 4f86f8a15d..9d92861a1a 100644 --- a/src/docs/guide/usage/linter/rules/oxc/no-barrel-file.md +++ b/src/docs/guide/usage/linter/rules/oxc/no-barrel-file.md @@ -54,4 +54,4 @@ oxlint --deny oxc/no-barrel-file ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/oxc/no_barrel_file.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/oxc/no_barrel_file.rs) diff --git a/src/docs/guide/usage/linter/rules/oxc/no-const-enum.md b/src/docs/guide/usage/linter/rules/oxc/no-const-enum.md index e7aa08921c..9ccb4a1c15 100644 --- a/src/docs/guide/usage/linter/rules/oxc/no-const-enum.md +++ b/src/docs/guide/usage/linter/rules/oxc/no-const-enum.md @@ -50,4 +50,4 @@ oxlint --deny oxc/no-const-enum ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/oxc/no_const_enum.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/oxc/no_const_enum.rs) diff --git a/src/docs/guide/usage/linter/rules/oxc/no-map-spread.md b/src/docs/guide/usage/linter/rules/oxc/no-map-spread.md index 79c369a2bb..081dfed92a 100644 --- a/src/docs/guide/usage/linter/rules/oxc/no-map-spread.md +++ b/src/docs/guide/usage/linter/rules/oxc/no-map-spread.md @@ -220,4 +220,4 @@ oxlint --deny oxc/no-map-spread ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/oxc/no_map_spread.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/oxc/no_map_spread.rs) diff --git a/src/docs/guide/usage/linter/rules/oxc/no-optional-chaining.md b/src/docs/guide/usage/linter/rules/oxc/no-optional-chaining.md index 63620a0b2a..b1ea83dceb 100644 --- a/src/docs/guide/usage/linter/rules/oxc/no-optional-chaining.md +++ b/src/docs/guide/usage/linter/rules/oxc/no-optional-chaining.md @@ -56,4 +56,4 @@ oxlint --deny oxc/no-optional-chaining ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/oxc/no_optional_chaining.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/oxc/no_optional_chaining.rs) diff --git a/src/docs/guide/usage/linter/rules/oxc/no-rest-spread-properties.md b/src/docs/guide/usage/linter/rules/oxc/no-rest-spread-properties.md index 9e6b58cc5a..4b5eaecafa 100644 --- a/src/docs/guide/usage/linter/rules/oxc/no-rest-spread-properties.md +++ b/src/docs/guide/usage/linter/rules/oxc/no-rest-spread-properties.md @@ -57,4 +57,4 @@ oxlint --deny oxc/no-rest-spread-properties ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/oxc/no_rest_spread_properties.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/oxc/no_rest_spread_properties.rs) diff --git a/src/docs/guide/usage/linter/rules/oxc/number-arg-out-of-range.md b/src/docs/guide/usage/linter/rules/oxc/number-arg-out-of-range.md index 389bef096e..d116646249 100644 --- a/src/docs/guide/usage/linter/rules/oxc/number-arg-out-of-range.md +++ b/src/docs/guide/usage/linter/rules/oxc/number-arg-out-of-range.md @@ -57,4 +57,4 @@ oxlint --deny oxc/number-arg-out-of-range ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/oxc/number_arg_out_of_range.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/oxc/number_arg_out_of_range.rs) diff --git a/src/docs/guide/usage/linter/rules/oxc/only-used-in-recursion.md b/src/docs/guide/usage/linter/rules/oxc/only-used-in-recursion.md index 372e5a5f09..6aa0787db9 100644 --- a/src/docs/guide/usage/linter/rules/oxc/only-used-in-recursion.md +++ b/src/docs/guide/usage/linter/rules/oxc/only-used-in-recursion.md @@ -67,4 +67,4 @@ oxlint --deny oxc/only-used-in-recursion ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/oxc/only_used_in_recursion.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/oxc/only_used_in_recursion.rs) diff --git a/src/docs/guide/usage/linter/rules/oxc/uninvoked-array-callback.md b/src/docs/guide/usage/linter/rules/oxc/uninvoked-array-callback.md index 1e8cd7cac7..d0885de300 100644 --- a/src/docs/guide/usage/linter/rules/oxc/uninvoked-array-callback.md +++ b/src/docs/guide/usage/linter/rules/oxc/uninvoked-array-callback.md @@ -45,4 +45,4 @@ oxlint --deny oxc/uninvoked-array-callback ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/oxc/uninvoked_array_callback.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/oxc/uninvoked_array_callback.rs) diff --git a/src/docs/guide/usage/linter/rules/promise/avoid-new.md b/src/docs/guide/usage/linter/rules/promise/avoid-new.md index 4d434eb194..d4274ee397 100644 --- a/src/docs/guide/usage/linter/rules/promise/avoid-new.md +++ b/src/docs/guide/usage/linter/rules/promise/avoid-new.md @@ -58,4 +58,4 @@ oxlint --deny promise/avoid-new --promise-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/promise/avoid_new.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/promise/avoid_new.rs) diff --git a/src/docs/guide/usage/linter/rules/promise/catch-or-return.md b/src/docs/guide/usage/linter/rules/promise/catch-or-return.md index 0d3bef0af2..c755e2ac0b 100644 --- a/src/docs/guide/usage/linter/rules/promise/catch-or-return.md +++ b/src/docs/guide/usage/linter/rules/promise/catch-or-return.md @@ -58,4 +58,4 @@ oxlint --deny promise/catch-or-return --promise-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/promise/catch_or_return.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/promise/catch_or_return.rs) diff --git a/src/docs/guide/usage/linter/rules/promise/no-callback-in-promise.md b/src/docs/guide/usage/linter/rules/promise/no-callback-in-promise.md index 37514e0cba..42e543f459 100644 --- a/src/docs/guide/usage/linter/rules/promise/no-callback-in-promise.md +++ b/src/docs/guide/usage/linter/rules/promise/no-callback-in-promise.md @@ -70,4 +70,4 @@ oxlint --deny promise/no-callback-in-promise --promise-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/promise/no_callback_in_promise.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/promise/no_callback_in_promise.rs) diff --git a/src/docs/guide/usage/linter/rules/promise/no-nesting.md b/src/docs/guide/usage/linter/rules/promise/no-nesting.md index 152b598651..4b3d143d56 100644 --- a/src/docs/guide/usage/linter/rules/promise/no-nesting.md +++ b/src/docs/guide/usage/linter/rules/promise/no-nesting.md @@ -82,4 +82,4 @@ oxlint --deny promise/no-nesting --promise-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/promise/no_nesting.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/promise/no_nesting.rs) diff --git a/src/docs/guide/usage/linter/rules/promise/no-new-statics.md b/src/docs/guide/usage/linter/rules/promise/no-new-statics.md index b795feb27a..a8cd72d1a1 100644 --- a/src/docs/guide/usage/linter/rules/promise/no-new-statics.md +++ b/src/docs/guide/usage/linter/rules/promise/no-new-statics.md @@ -57,4 +57,4 @@ oxlint --deny promise/no-new-statics --promise-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/promise/no_new_statics.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/promise/no_new_statics.rs) diff --git a/src/docs/guide/usage/linter/rules/promise/no-promise-in-callback.md b/src/docs/guide/usage/linter/rules/promise/no-promise-in-callback.md index 55b07f0bd2..d89fd4b3d0 100644 --- a/src/docs/guide/usage/linter/rules/promise/no-promise-in-callback.md +++ b/src/docs/guide/usage/linter/rules/promise/no-promise-in-callback.md @@ -56,4 +56,4 @@ oxlint --deny promise/no-promise-in-callback --promise-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/promise/no_promise_in_callback.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/promise/no_promise_in_callback.rs) diff --git a/src/docs/guide/usage/linter/rules/promise/no-return-in-finally.md b/src/docs/guide/usage/linter/rules/promise/no-return-in-finally.md index 297f526ef4..b2689a9d1e 100644 --- a/src/docs/guide/usage/linter/rules/promise/no-return-in-finally.md +++ b/src/docs/guide/usage/linter/rules/promise/no-return-in-finally.md @@ -55,4 +55,4 @@ oxlint --deny promise/no-return-in-finally --promise-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/promise/no_return_in_finally.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/promise/no_return_in_finally.rs) diff --git a/src/docs/guide/usage/linter/rules/promise/no-return-wrap.md b/src/docs/guide/usage/linter/rules/promise/no-return-wrap.md index f9186f5f46..b383ae599a 100644 --- a/src/docs/guide/usage/linter/rules/promise/no-return-wrap.md +++ b/src/docs/guide/usage/linter/rules/promise/no-return-wrap.md @@ -133,4 +133,4 @@ oxlint --deny promise/no-return-wrap --promise-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/promise/no_return_wrap.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/promise/no_return_wrap.rs) diff --git a/src/docs/guide/usage/linter/rules/promise/param-names.md b/src/docs/guide/usage/linter/rules/promise/param-names.md index 0012ae470c..99ebec8b5b 100644 --- a/src/docs/guide/usage/linter/rules/promise/param-names.md +++ b/src/docs/guide/usage/linter/rules/promise/param-names.md @@ -58,4 +58,4 @@ oxlint --deny promise/param-names --promise-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/promise/param_names.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/promise/param_names.rs) diff --git a/src/docs/guide/usage/linter/rules/promise/prefer-await-to-callbacks.md b/src/docs/guide/usage/linter/rules/promise/prefer-await-to-callbacks.md index 00927c9e86..b5da73fffc 100644 --- a/src/docs/guide/usage/linter/rules/promise/prefer-await-to-callbacks.md +++ b/src/docs/guide/usage/linter/rules/promise/prefer-await-to-callbacks.md @@ -64,4 +64,4 @@ oxlint --deny promise/prefer-await-to-callbacks --promise-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/promise/prefer_await_to_callbacks.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/promise/prefer_await_to_callbacks.rs) diff --git a/src/docs/guide/usage/linter/rules/promise/prefer-await-to-then.md b/src/docs/guide/usage/linter/rules/promise/prefer-await-to-then.md index d1d4d920eb..39c1eb5ae9 100644 --- a/src/docs/guide/usage/linter/rules/promise/prefer-await-to-then.md +++ b/src/docs/guide/usage/linter/rules/promise/prefer-await-to-then.md @@ -64,4 +64,4 @@ oxlint --deny promise/prefer-await-to-then --promise-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/promise/prefer_await_to_then.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/promise/prefer_await_to_then.rs) diff --git a/src/docs/guide/usage/linter/rules/promise/prefer-catch.md b/src/docs/guide/usage/linter/rules/promise/prefer-catch.md index 4469346bb7..fc7d3e40af 100644 --- a/src/docs/guide/usage/linter/rules/promise/prefer-catch.md +++ b/src/docs/guide/usage/linter/rules/promise/prefer-catch.md @@ -66,4 +66,4 @@ oxlint --deny promise/prefer-catch --promise-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/promise/prefer_catch.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/promise/prefer_catch.rs) diff --git a/src/docs/guide/usage/linter/rules/promise/spec-only.md b/src/docs/guide/usage/linter/rules/promise/spec-only.md index 49b66e22a6..bd103d1189 100644 --- a/src/docs/guide/usage/linter/rules/promise/spec-only.md +++ b/src/docs/guide/usage/linter/rules/promise/spec-only.md @@ -50,4 +50,4 @@ oxlint --deny promise/spec-only --promise-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/promise/spec_only.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/promise/spec_only.rs) diff --git a/src/docs/guide/usage/linter/rules/promise/valid-params.md b/src/docs/guide/usage/linter/rules/promise/valid-params.md index 2c330bef86..bc259e530b 100644 --- a/src/docs/guide/usage/linter/rules/promise/valid-params.md +++ b/src/docs/guide/usage/linter/rules/promise/valid-params.md @@ -54,4 +54,4 @@ oxlint --deny promise/valid-params --promise-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/promise/valid_params.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/promise/valid_params.rs) diff --git a/src/docs/guide/usage/linter/rules/react/button-has-type.md b/src/docs/guide/usage/linter/rules/react/button-has-type.md index c6e315a923..7361aa2d2b 100644 --- a/src/docs/guide/usage/linter/rules/react/button-has-type.md +++ b/src/docs/guide/usage/linter/rules/react/button-has-type.md @@ -53,4 +53,4 @@ oxlint --deny react/button-has-type ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/button_has_type.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/button_has_type.rs) diff --git a/src/docs/guide/usage/linter/rules/react/checked-requires-onchange-or-readonly.md b/src/docs/guide/usage/linter/rules/react/checked-requires-onchange-or-readonly.md index 09ada47dc4..e764c9bfa0 100644 --- a/src/docs/guide/usage/linter/rules/react/checked-requires-onchange-or-readonly.md +++ b/src/docs/guide/usage/linter/rules/react/checked-requires-onchange-or-readonly.md @@ -60,4 +60,4 @@ oxlint --deny react/checked-requires-onchange-or-readonly ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/checked_requires_onchange_or_readonly.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/checked_requires_onchange_or_readonly.rs) diff --git a/src/docs/guide/usage/linter/rules/react/exhaustive-deps.md b/src/docs/guide/usage/linter/rules/react/exhaustive-deps.md index 36bd977c37..22cb133e5c 100644 --- a/src/docs/guide/usage/linter/rules/react/exhaustive-deps.md +++ b/src/docs/guide/usage/linter/rules/react/exhaustive-deps.md @@ -60,4 +60,4 @@ oxlint --deny react/exhaustive-deps ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/exhaustive_deps.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/exhaustive_deps.rs) diff --git a/src/docs/guide/usage/linter/rules/react/iframe-missing-sandbox.md b/src/docs/guide/usage/linter/rules/react/iframe-missing-sandbox.md index b28081a5de..37e41484fb 100644 --- a/src/docs/guide/usage/linter/rules/react/iframe-missing-sandbox.md +++ b/src/docs/guide/usage/linter/rules/react/iframe-missing-sandbox.md @@ -66,4 +66,4 @@ oxlint --deny react/iframe-missing-sandbox ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/iframe_missing_sandbox.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/iframe_missing_sandbox.rs) diff --git a/src/docs/guide/usage/linter/rules/react/jsx-boolean-value.md b/src/docs/guide/usage/linter/rules/react/jsx-boolean-value.md index 3357bbb2bd..8deb208636 100644 --- a/src/docs/guide/usage/linter/rules/react/jsx-boolean-value.md +++ b/src/docs/guide/usage/linter/rules/react/jsx-boolean-value.md @@ -52,4 +52,4 @@ oxlint --deny react/jsx-boolean-value ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/jsx_boolean_value.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/jsx_boolean_value.rs) diff --git a/src/docs/guide/usage/linter/rules/react/jsx-curly-brace-presence.md b/src/docs/guide/usage/linter/rules/react/jsx-curly-brace-presence.md index fb5c008d12..9d156e5e99 100644 --- a/src/docs/guide/usage/linter/rules/react/jsx-curly-brace-presence.md +++ b/src/docs/guide/usage/linter/rules/react/jsx-curly-brace-presence.md @@ -252,4 +252,4 @@ oxlint --deny react/jsx-curly-brace-presence ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/jsx_curly_brace_presence.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/jsx_curly_brace_presence.rs) diff --git a/src/docs/guide/usage/linter/rules/react/jsx-filename-extension.md b/src/docs/guide/usage/linter/rules/react/jsx-filename-extension.md index 31dfff779e..711c1dc406 100644 --- a/src/docs/guide/usage/linter/rules/react/jsx-filename-extension.md +++ b/src/docs/guide/usage/linter/rules/react/jsx-filename-extension.md @@ -91,4 +91,4 @@ oxlint --deny react/jsx-filename-extension ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/jsx_filename_extension.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/jsx_filename_extension.rs) diff --git a/src/docs/guide/usage/linter/rules/react/jsx-key.md b/src/docs/guide/usage/linter/rules/react/jsx-key.md index 4ef8bfb649..fe4d29031e 100644 --- a/src/docs/guide/usage/linter/rules/react/jsx-key.md +++ b/src/docs/guide/usage/linter/rules/react/jsx-key.md @@ -54,4 +54,4 @@ oxlint --deny react/jsx-key ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/jsx_key.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/jsx_key.rs) diff --git a/src/docs/guide/usage/linter/rules/react/jsx-no-comment-textnodes.md b/src/docs/guide/usage/linter/rules/react/jsx-no-comment-textnodes.md index f645e4e31f..6278e1f7b4 100644 --- a/src/docs/guide/usage/linter/rules/react/jsx-no-comment-textnodes.md +++ b/src/docs/guide/usage/linter/rules/react/jsx-no-comment-textnodes.md @@ -59,4 +59,4 @@ oxlint --deny react/jsx-no-comment-textnodes ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/jsx_no_comment_textnodes.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/jsx_no_comment_textnodes.rs) diff --git a/src/docs/guide/usage/linter/rules/react/jsx-no-duplicate-props.md b/src/docs/guide/usage/linter/rules/react/jsx-no-duplicate-props.md index 8dd5668c09..1b17bd8c8a 100644 --- a/src/docs/guide/usage/linter/rules/react/jsx-no-duplicate-props.md +++ b/src/docs/guide/usage/linter/rules/react/jsx-no-duplicate-props.md @@ -55,4 +55,4 @@ oxlint --deny react/jsx-no-duplicate-props ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/jsx_no_duplicate_props.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/jsx_no_duplicate_props.rs) diff --git a/src/docs/guide/usage/linter/rules/react/jsx-no-script-url.md b/src/docs/guide/usage/linter/rules/react/jsx-no-script-url.md index 70249b2a8c..42f1c7d897 100644 --- a/src/docs/guide/usage/linter/rules/react/jsx-no-script-url.md +++ b/src/docs/guide/usage/linter/rules/react/jsx-no-script-url.md @@ -54,4 +54,4 @@ oxlint --deny react/jsx-no-script-url ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/jsx_no_script_url.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/jsx_no_script_url.rs) diff --git a/src/docs/guide/usage/linter/rules/react/jsx-no-target-blank.md b/src/docs/guide/usage/linter/rules/react/jsx-no-target-blank.md index d7ae4fb4b2..1d711d0d95 100644 --- a/src/docs/guide/usage/linter/rules/react/jsx-no-target-blank.md +++ b/src/docs/guide/usage/linter/rules/react/jsx-no-target-blank.md @@ -61,4 +61,4 @@ oxlint --deny react/jsx-no-target-blank ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/jsx_no_target_blank.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/jsx_no_target_blank.rs) diff --git a/src/docs/guide/usage/linter/rules/react/jsx-no-undef.md b/src/docs/guide/usage/linter/rules/react/jsx-no-undef.md index 9674e0195a..203e6f35b0 100644 --- a/src/docs/guide/usage/linter/rules/react/jsx-no-undef.md +++ b/src/docs/guide/usage/linter/rules/react/jsx-no-undef.md @@ -45,4 +45,4 @@ oxlint --deny react/jsx-no-undef ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/jsx_no_undef.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/jsx_no_undef.rs) diff --git a/src/docs/guide/usage/linter/rules/react/jsx-no-useless-fragment.md b/src/docs/guide/usage/linter/rules/react/jsx-no-useless-fragment.md index 75633002bc..2c5ecf4f2d 100644 --- a/src/docs/guide/usage/linter/rules/react/jsx-no-useless-fragment.md +++ b/src/docs/guide/usage/linter/rules/react/jsx-no-useless-fragment.md @@ -51,4 +51,4 @@ oxlint --deny react/jsx-no-useless-fragment ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/jsx_no_useless_fragment.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/jsx_no_useless_fragment.rs) diff --git a/src/docs/guide/usage/linter/rules/react/jsx-props-no-spread-multi.md b/src/docs/guide/usage/linter/rules/react/jsx-props-no-spread-multi.md index 4640c95e0e..7836dcdc17 100644 --- a/src/docs/guide/usage/linter/rules/react/jsx-props-no-spread-multi.md +++ b/src/docs/guide/usage/linter/rules/react/jsx-props-no-spread-multi.md @@ -57,4 +57,4 @@ oxlint --deny react/jsx-props-no-spread-multi ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/jsx_props_no_spread_multi.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/jsx_props_no_spread_multi.rs) diff --git a/src/docs/guide/usage/linter/rules/react/no-array-index-key.md b/src/docs/guide/usage/linter/rules/react/no-array-index-key.md index 1d3717c690..f4b7114c3e 100644 --- a/src/docs/guide/usage/linter/rules/react/no-array-index-key.md +++ b/src/docs/guide/usage/linter/rules/react/no-array-index-key.md @@ -52,4 +52,4 @@ oxlint --deny react/no-array-index-key ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/no_array_index_key.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/no_array_index_key.rs) diff --git a/src/docs/guide/usage/linter/rules/react/no-children-prop.md b/src/docs/guide/usage/linter/rules/react/no-children-prop.md index c93f6bf37f..91aab1074a 100644 --- a/src/docs/guide/usage/linter/rules/react/no-children-prop.md +++ b/src/docs/guide/usage/linter/rules/react/no-children-prop.md @@ -67,4 +67,4 @@ oxlint --deny react/no-children-prop ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/no_children_prop.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/no_children_prop.rs) diff --git a/src/docs/guide/usage/linter/rules/react/no-danger-with-children.md b/src/docs/guide/usage/linter/rules/react/no-danger-with-children.md index 228a06ab01..f497236ea3 100644 --- a/src/docs/guide/usage/linter/rules/react/no-danger-with-children.md +++ b/src/docs/guide/usage/linter/rules/react/no-danger-with-children.md @@ -54,4 +54,4 @@ oxlint --deny react/no-danger-with-children ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/no_danger_with_children.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/no_danger_with_children.rs) diff --git a/src/docs/guide/usage/linter/rules/react/no-danger.md b/src/docs/guide/usage/linter/rules/react/no-danger.md index 69e582e959..ca526fba3a 100644 --- a/src/docs/guide/usage/linter/rules/react/no-danger.md +++ b/src/docs/guide/usage/linter/rules/react/no-danger.md @@ -55,4 +55,4 @@ oxlint --deny react/no-danger ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/no_danger.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/no_danger.rs) diff --git a/src/docs/guide/usage/linter/rules/react/no-direct-mutation-state.md b/src/docs/guide/usage/linter/rules/react/no-direct-mutation-state.md index dbf5a5c62b..c608b8155f 100644 --- a/src/docs/guide/usage/linter/rules/react/no-direct-mutation-state.md +++ b/src/docs/guide/usage/linter/rules/react/no-direct-mutation-state.md @@ -84,4 +84,4 @@ oxlint --deny react/no-direct-mutation-state ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/no_direct_mutation_state.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/no_direct_mutation_state.rs) diff --git a/src/docs/guide/usage/linter/rules/react/no-find-dom-node.md b/src/docs/guide/usage/linter/rules/react/no-find-dom-node.md index c700f86d34..84906c6516 100644 --- a/src/docs/guide/usage/linter/rules/react/no-find-dom-node.md +++ b/src/docs/guide/usage/linter/rules/react/no-find-dom-node.md @@ -53,4 +53,4 @@ oxlint --deny react/no-find-dom-node ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/no_find_dom_node.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/no_find_dom_node.rs) diff --git a/src/docs/guide/usage/linter/rules/react/no-is-mounted.md b/src/docs/guide/usage/linter/rules/react/no-is-mounted.md index 1abdc64be5..3ba5db07ab 100644 --- a/src/docs/guide/usage/linter/rules/react/no-is-mounted.md +++ b/src/docs/guide/usage/linter/rules/react/no-is-mounted.md @@ -54,4 +54,4 @@ oxlint --deny react/no-is-mounted ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/no_is_mounted.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/no_is_mounted.rs) diff --git a/src/docs/guide/usage/linter/rules/react/no-namespace.md b/src/docs/guide/usage/linter/rules/react/no-namespace.md index 1118764dd8..d0961d26b3 100644 --- a/src/docs/guide/usage/linter/rules/react/no-namespace.md +++ b/src/docs/guide/usage/linter/rules/react/no-namespace.md @@ -51,4 +51,4 @@ oxlint --deny react/no-namespace ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/no_namespace.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/no_namespace.rs) diff --git a/src/docs/guide/usage/linter/rules/react/no-render-return-value.md b/src/docs/guide/usage/linter/rules/react/no-render-return-value.md index d2eae0e8e9..fef354091f 100644 --- a/src/docs/guide/usage/linter/rules/react/no-render-return-value.md +++ b/src/docs/guide/usage/linter/rules/react/no-render-return-value.md @@ -55,4 +55,4 @@ oxlint --deny react/no-render-return-value ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/no_render_return_value.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/no_render_return_value.rs) diff --git a/src/docs/guide/usage/linter/rules/react/no-set-state.md b/src/docs/guide/usage/linter/rules/react/no-set-state.md index cc2a706843..d094a94594 100644 --- a/src/docs/guide/usage/linter/rules/react/no-set-state.md +++ b/src/docs/guide/usage/linter/rules/react/no-set-state.md @@ -58,4 +58,4 @@ oxlint --deny react/no-set-state ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/no_set_state.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/no_set_state.rs) diff --git a/src/docs/guide/usage/linter/rules/react/no-string-refs.md b/src/docs/guide/usage/linter/rules/react/no-string-refs.md index 54a51cddf8..8a52a0e78c 100644 --- a/src/docs/guide/usage/linter/rules/react/no-string-refs.md +++ b/src/docs/guide/usage/linter/rules/react/no-string-refs.md @@ -82,4 +82,4 @@ oxlint --deny react/no-string-refs ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/no_string_refs.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/no_string_refs.rs) diff --git a/src/docs/guide/usage/linter/rules/react/no-unescaped-entities.md b/src/docs/guide/usage/linter/rules/react/no-unescaped-entities.md index 581edfb640..0e9020dc80 100644 --- a/src/docs/guide/usage/linter/rules/react/no-unescaped-entities.md +++ b/src/docs/guide/usage/linter/rules/react/no-unescaped-entities.md @@ -53,4 +53,4 @@ oxlint --deny react/no-unescaped-entities ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/no_unescaped_entities.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/no_unescaped_entities.rs) diff --git a/src/docs/guide/usage/linter/rules/react/no-unknown-property.md b/src/docs/guide/usage/linter/rules/react/no-unknown-property.md index e62758d9bf..b2ff5d04ee 100644 --- a/src/docs/guide/usage/linter/rules/react/no-unknown-property.md +++ b/src/docs/guide/usage/linter/rules/react/no-unknown-property.md @@ -49,4 +49,4 @@ oxlint --deny react/no-unknown-property ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/no_unknown_property.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/no_unknown_property.rs) diff --git a/src/docs/guide/usage/linter/rules/react/prefer-es6-class.md b/src/docs/guide/usage/linter/rules/react/prefer-es6-class.md index 20fec34457..bbdf9ec982 100644 --- a/src/docs/guide/usage/linter/rules/react/prefer-es6-class.md +++ b/src/docs/guide/usage/linter/rules/react/prefer-es6-class.md @@ -46,4 +46,4 @@ oxlint --deny react/prefer-es6-class ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/prefer_es6_class.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/prefer_es6_class.rs) diff --git a/src/docs/guide/usage/linter/rules/react/react-in-jsx-scope.md b/src/docs/guide/usage/linter/rules/react/react-in-jsx-scope.md index 20c1476505..c9343974da 100644 --- a/src/docs/guide/usage/linter/rules/react/react-in-jsx-scope.md +++ b/src/docs/guide/usage/linter/rules/react/react-in-jsx-scope.md @@ -51,4 +51,4 @@ oxlint --deny react/react-in-jsx-scope ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/react_in_jsx_scope.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/react_in_jsx_scope.rs) diff --git a/src/docs/guide/usage/linter/rules/react/require-render-return.md b/src/docs/guide/usage/linter/rules/react/require-render-return.md index 3d2c57aa66..525e21a7ae 100644 --- a/src/docs/guide/usage/linter/rules/react/require-render-return.md +++ b/src/docs/guide/usage/linter/rules/react/require-render-return.md @@ -51,4 +51,4 @@ oxlint --deny react/require-render-return ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/require_render_return.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/require_render_return.rs) diff --git a/src/docs/guide/usage/linter/rules/react/rules-of-hooks.md b/src/docs/guide/usage/linter/rules/react/rules-of-hooks.md index 05ce5ba11f..7dbff95672 100644 --- a/src/docs/guide/usage/linter/rules/react/rules-of-hooks.md +++ b/src/docs/guide/usage/linter/rules/react/rules-of-hooks.md @@ -33,4 +33,4 @@ oxlint --deny react/rules-of-hooks ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/rules_of_hooks.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/rules_of_hooks.rs) diff --git a/src/docs/guide/usage/linter/rules/react/self-closing-comp.md b/src/docs/guide/usage/linter/rules/react/self-closing-comp.md index f4c0f89062..202b2e5ec9 100644 --- a/src/docs/guide/usage/linter/rules/react/self-closing-comp.md +++ b/src/docs/guide/usage/linter/rules/react/self-closing-comp.md @@ -56,4 +56,4 @@ oxlint --deny react/self-closing-comp ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/self_closing_comp.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/self_closing_comp.rs) diff --git a/src/docs/guide/usage/linter/rules/react/style-prop-object.md b/src/docs/guide/usage/linter/rules/react/style-prop-object.md index cb5e3ebe07..f6800526d5 100644 --- a/src/docs/guide/usage/linter/rules/react/style-prop-object.md +++ b/src/docs/guide/usage/linter/rules/react/style-prop-object.md @@ -67,4 +67,4 @@ oxlint --deny react/style-prop-object ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/style_prop_object.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/style_prop_object.rs) diff --git a/src/docs/guide/usage/linter/rules/react/void-dom-elements-no-children.md b/src/docs/guide/usage/linter/rules/react/void-dom-elements-no-children.md index 5ac4a7cb1c..b87843a2b0 100644 --- a/src/docs/guide/usage/linter/rules/react/void-dom-elements-no-children.md +++ b/src/docs/guide/usage/linter/rules/react/void-dom-elements-no-children.md @@ -63,4 +63,4 @@ oxlint --deny react/void-dom-elements-no-children ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react/void_dom_elements_no_children.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react/void_dom_elements_no_children.rs) diff --git a/src/docs/guide/usage/linter/rules/react_perf/jsx-no-jsx-as-prop.md b/src/docs/guide/usage/linter/rules/react_perf/jsx-no-jsx-as-prop.md index 89cfe5fd11..3d049ab0d6 100644 --- a/src/docs/guide/usage/linter/rules/react_perf/jsx-no-jsx-as-prop.md +++ b/src/docs/guide/usage/linter/rules/react_perf/jsx-no-jsx-as-prop.md @@ -57,4 +57,4 @@ oxlint --deny react-perf/jsx-no-jsx-as-prop --react-perf-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react_perf/jsx_no_jsx_as_prop.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react_perf/jsx_no_jsx_as_prop.rs) diff --git a/src/docs/guide/usage/linter/rules/react_perf/jsx-no-new-array-as-prop.md b/src/docs/guide/usage/linter/rules/react_perf/jsx-no-new-array-as-prop.md index 1bc05fbf6c..adbee17ac4 100644 --- a/src/docs/guide/usage/linter/rules/react_perf/jsx-no-new-array-as-prop.md +++ b/src/docs/guide/usage/linter/rules/react_perf/jsx-no-new-array-as-prop.md @@ -59,4 +59,4 @@ oxlint --deny react-perf/jsx-no-new-array-as-prop --react-perf-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react_perf/jsx_no_new_array_as_prop.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react_perf/jsx_no_new_array_as_prop.rs) diff --git a/src/docs/guide/usage/linter/rules/react_perf/jsx-no-new-function-as-prop.md b/src/docs/guide/usage/linter/rules/react_perf/jsx-no-new-function-as-prop.md index e635139e90..33bf1c5c4a 100644 --- a/src/docs/guide/usage/linter/rules/react_perf/jsx-no-new-function-as-prop.md +++ b/src/docs/guide/usage/linter/rules/react_perf/jsx-no-new-function-as-prop.md @@ -56,4 +56,4 @@ oxlint --deny react-perf/jsx-no-new-function-as-prop --react-perf-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react_perf/jsx_no_new_function_as_prop.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react_perf/jsx_no_new_function_as_prop.rs) diff --git a/src/docs/guide/usage/linter/rules/react_perf/jsx-no-new-object-as-prop.md b/src/docs/guide/usage/linter/rules/react_perf/jsx-no-new-object-as-prop.md index 11151924ae..a7ff98cc8e 100644 --- a/src/docs/guide/usage/linter/rules/react_perf/jsx-no-new-object-as-prop.md +++ b/src/docs/guide/usage/linter/rules/react_perf/jsx-no-new-object-as-prop.md @@ -60,4 +60,4 @@ oxlint --deny react-perf/jsx-no-new-object-as-prop --react-perf-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/react_perf/jsx_no_new_object_as_prop.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/react_perf/jsx_no_new_object_as_prop.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/adjacent-overload-signatures.md b/src/docs/guide/usage/linter/rules/typescript/adjacent-overload-signatures.md index be48681b85..412f500c75 100644 --- a/src/docs/guide/usage/linter/rules/typescript/adjacent-overload-signatures.md +++ b/src/docs/guide/usage/linter/rules/typescript/adjacent-overload-signatures.md @@ -75,4 +75,4 @@ oxlint --deny typescript/adjacent-overload-signatures ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/adjacent_overload_signatures.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/adjacent_overload_signatures.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/array-type.md b/src/docs/guide/usage/linter/rules/typescript/array-type.md index 1cad95e2f4..2d9bb3c46c 100644 --- a/src/docs/guide/usage/linter/rules/typescript/array-type.md +++ b/src/docs/guide/usage/linter/rules/typescript/array-type.md @@ -45,4 +45,4 @@ oxlint --deny typescript/array-type ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/array_type.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/array_type.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/ban-ts-comment.md b/src/docs/guide/usage/linter/rules/typescript/ban-ts-comment.md index b4778cca00..77d8af73ab 100644 --- a/src/docs/guide/usage/linter/rules/typescript/ban-ts-comment.md +++ b/src/docs/guide/usage/linter/rules/typescript/ban-ts-comment.md @@ -48,4 +48,4 @@ oxlint --deny typescript/ban-ts-comment ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/ban_ts_comment.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/ban_ts_comment.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/ban-tslint-comment.md b/src/docs/guide/usage/linter/rules/typescript/ban-tslint-comment.md index f794a89d59..6c13495dbc 100644 --- a/src/docs/guide/usage/linter/rules/typescript/ban-tslint-comment.md +++ b/src/docs/guide/usage/linter/rules/typescript/ban-tslint-comment.md @@ -46,4 +46,4 @@ oxlint --deny typescript/ban-tslint-comment ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/ban_tslint_comment.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/ban_tslint_comment.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/ban-types.md b/src/docs/guide/usage/linter/rules/typescript/ban-types.md index a407bc5da0..d6b5d283a5 100644 --- a/src/docs/guide/usage/linter/rules/typescript/ban-types.md +++ b/src/docs/guide/usage/linter/rules/typescript/ban-types.md @@ -46,4 +46,4 @@ oxlint --deny typescript/ban-types ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/ban_types.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/ban_types.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/consistent-generic-constructors.md b/src/docs/guide/usage/linter/rules/typescript/consistent-generic-constructors.md index 0e9a94407e..59c755f697 100644 --- a/src/docs/guide/usage/linter/rules/typescript/consistent-generic-constructors.md +++ b/src/docs/guide/usage/linter/rules/typescript/consistent-generic-constructors.md @@ -56,4 +56,4 @@ oxlint --deny typescript/consistent-generic-constructors ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/consistent_generic_constructors.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/consistent_generic_constructors.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/consistent-indexed-object-style.md b/src/docs/guide/usage/linter/rules/typescript/consistent-indexed-object-style.md index 382616ea0a..d6342d5537 100644 --- a/src/docs/guide/usage/linter/rules/typescript/consistent-indexed-object-style.md +++ b/src/docs/guide/usage/linter/rules/typescript/consistent-indexed-object-style.md @@ -57,4 +57,4 @@ oxlint --deny typescript/consistent-indexed-object-style ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/consistent_indexed_object_style.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/consistent_indexed_object_style.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/consistent-type-definitions.md b/src/docs/guide/usage/linter/rules/typescript/consistent-type-definitions.md index 4ca84e82da..23928c7d9d 100644 --- a/src/docs/guide/usage/linter/rules/typescript/consistent-type-definitions.md +++ b/src/docs/guide/usage/linter/rules/typescript/consistent-type-definitions.md @@ -89,4 +89,4 @@ oxlint --deny typescript/consistent-type-definitions ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/consistent_type_definitions.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/consistent_type_definitions.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/consistent-type-imports.md b/src/docs/guide/usage/linter/rules/typescript/consistent-type-imports.md index 6727bb0056..fc6924b6a1 100644 --- a/src/docs/guide/usage/linter/rules/typescript/consistent-type-imports.md +++ b/src/docs/guide/usage/linter/rules/typescript/consistent-type-imports.md @@ -47,4 +47,4 @@ oxlint --deny typescript/consistent-type-imports ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/consistent_type_imports.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/consistent_type_imports.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/explicit-function-return-type.md b/src/docs/guide/usage/linter/rules/typescript/explicit-function-return-type.md index 8f4b2af26b..8c593b96f2 100644 --- a/src/docs/guide/usage/linter/rules/typescript/explicit-function-return-type.md +++ b/src/docs/guide/usage/linter/rules/typescript/explicit-function-return-type.md @@ -90,4 +90,4 @@ oxlint --deny typescript/explicit-function-return-type ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/explicit_function_return_type.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/explicit_function_return_type.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/no-confusing-non-null-assertion.md b/src/docs/guide/usage/linter/rules/typescript/no-confusing-non-null-assertion.md index 71c10bfbca..657ed1050f 100644 --- a/src/docs/guide/usage/linter/rules/typescript/no-confusing-non-null-assertion.md +++ b/src/docs/guide/usage/linter/rules/typescript/no-confusing-non-null-assertion.md @@ -46,4 +46,4 @@ oxlint --deny typescript/no-confusing-non-null-assertion ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/no_confusing_non_null_assertion.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/no_confusing_non_null_assertion.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/no-duplicate-enum-values.md b/src/docs/guide/usage/linter/rules/typescript/no-duplicate-enum-values.md index 7db26da414..20cf22c93c 100644 --- a/src/docs/guide/usage/linter/rules/typescript/no-duplicate-enum-values.md +++ b/src/docs/guide/usage/linter/rules/typescript/no-duplicate-enum-values.md @@ -84,4 +84,4 @@ oxlint --deny typescript/no-duplicate-enum-values ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/no_duplicate_enum_values.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/no_duplicate_enum_values.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/no-dynamic-delete.md b/src/docs/guide/usage/linter/rules/typescript/no-dynamic-delete.md index 2cd4a99fb7..e64044ef94 100644 --- a/src/docs/guide/usage/linter/rules/typescript/no-dynamic-delete.md +++ b/src/docs/guide/usage/linter/rules/typescript/no-dynamic-delete.md @@ -44,4 +44,4 @@ oxlint --deny typescript/no-dynamic-delete ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/no_dynamic_delete.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/no_dynamic_delete.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/no-empty-interface.md b/src/docs/guide/usage/linter/rules/typescript/no-empty-interface.md index 9cbbb5a9d2..5482d78d6f 100644 --- a/src/docs/guide/usage/linter/rules/typescript/no-empty-interface.md +++ b/src/docs/guide/usage/linter/rules/typescript/no-empty-interface.md @@ -44,4 +44,4 @@ oxlint --deny typescript/no-empty-interface ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/no_empty_interface.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/no_empty_interface.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/no-empty-object-type.md b/src/docs/guide/usage/linter/rules/typescript/no-empty-object-type.md index 278c754659..2a43a66566 100644 --- a/src/docs/guide/usage/linter/rules/typescript/no-empty-object-type.md +++ b/src/docs/guide/usage/linter/rules/typescript/no-empty-object-type.md @@ -74,4 +74,4 @@ oxlint --deny typescript/no-empty-object-type ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/no_empty_object_type.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/no_empty_object_type.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/no-explicit-any.md b/src/docs/guide/usage/linter/rules/typescript/no-explicit-any.md index c6ddfa16a5..221f101861 100644 --- a/src/docs/guide/usage/linter/rules/typescript/no-explicit-any.md +++ b/src/docs/guide/usage/linter/rules/typescript/no-explicit-any.md @@ -88,4 +88,4 @@ oxlint --deny typescript/no-explicit-any ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/no_explicit_any.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/no_explicit_any.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/no-extra-non-null-assertion.md b/src/docs/guide/usage/linter/rules/typescript/no-extra-non-null-assertion.md index 458c67c489..df3452541e 100644 --- a/src/docs/guide/usage/linter/rules/typescript/no-extra-non-null-assertion.md +++ b/src/docs/guide/usage/linter/rules/typescript/no-extra-non-null-assertion.md @@ -80,4 +80,4 @@ oxlint --deny typescript/no-extra-non-null-assertion ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/no_extra_non_null_assertion.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/no_extra_non_null_assertion.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/no-extraneous-class.md b/src/docs/guide/usage/linter/rules/typescript/no-extraneous-class.md index 7dd55b4c38..81a7fcd311 100644 --- a/src/docs/guide/usage/linter/rules/typescript/no-extraneous-class.md +++ b/src/docs/guide/usage/linter/rules/typescript/no-extraneous-class.md @@ -70,4 +70,4 @@ oxlint --deny typescript/no-extraneous-class ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/no_extraneous_class.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/no_extraneous_class.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/no-import-type-side-effects.md b/src/docs/guide/usage/linter/rules/typescript/no-import-type-side-effects.md index b76f89da8f..53b9072bca 100644 --- a/src/docs/guide/usage/linter/rules/typescript/no-import-type-side-effects.md +++ b/src/docs/guide/usage/linter/rules/typescript/no-import-type-side-effects.md @@ -70,4 +70,4 @@ oxlint --deny typescript/no-import-type-side-effects ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/no_import_type_side_effects.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/no_import_type_side_effects.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/no-inferrable-types.md b/src/docs/guide/usage/linter/rules/typescript/no-inferrable-types.md index 10808156fc..9baca222ed 100644 --- a/src/docs/guide/usage/linter/rules/typescript/no-inferrable-types.md +++ b/src/docs/guide/usage/linter/rules/typescript/no-inferrable-types.md @@ -58,4 +58,4 @@ oxlint --deny typescript/no-inferrable-types ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/no_inferrable_types.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/no_inferrable_types.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/no-misused-new.md b/src/docs/guide/usage/linter/rules/typescript/no-misused-new.md index cb093d6667..ff59acaa2d 100644 --- a/src/docs/guide/usage/linter/rules/typescript/no-misused-new.md +++ b/src/docs/guide/usage/linter/rules/typescript/no-misused-new.md @@ -76,4 +76,4 @@ oxlint --deny typescript/no-misused-new ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/no_misused_new.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/no_misused_new.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/no-namespace.md b/src/docs/guide/usage/linter/rules/typescript/no-namespace.md index 09f2a14374..5746cc1ffc 100644 --- a/src/docs/guide/usage/linter/rules/typescript/no-namespace.md +++ b/src/docs/guide/usage/linter/rules/typescript/no-namespace.md @@ -124,4 +124,4 @@ oxlint --deny typescript/no-namespace ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/no_namespace.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/no_namespace.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/no-non-null-asserted-nullish-coalescing.md b/src/docs/guide/usage/linter/rules/typescript/no-non-null-asserted-nullish-coalescing.md index 86da260813..89ba882021 100644 --- a/src/docs/guide/usage/linter/rules/typescript/no-non-null-asserted-nullish-coalescing.md +++ b/src/docs/guide/usage/linter/rules/typescript/no-non-null-asserted-nullish-coalescing.md @@ -72,4 +72,4 @@ oxlint --deny typescript/no-non-null-asserted-nullish-coalescing ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/no_non_null_asserted_nullish_coalescing.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/no_non_null_asserted_nullish_coalescing.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/no-non-null-asserted-optional-chain.md b/src/docs/guide/usage/linter/rules/typescript/no-non-null-asserted-optional-chain.md index d58139d704..d88392efe0 100644 --- a/src/docs/guide/usage/linter/rules/typescript/no-non-null-asserted-optional-chain.md +++ b/src/docs/guide/usage/linter/rules/typescript/no-non-null-asserted-optional-chain.md @@ -6,6 +6,9 @@ βœ… This rule is turned on by default. + +🚧 An auto-fix is still under development. + ### What it does @@ -48,4 +51,4 @@ oxlint --deny typescript/no-non-null-asserted-optional-chain ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/no_non_null_asserted_optional_chain.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/no_non_null_asserted_optional_chain.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/no-non-null-assertion.md b/src/docs/guide/usage/linter/rules/typescript/no-non-null-assertion.md index 637fbc1e05..1c5ade749c 100644 --- a/src/docs/guide/usage/linter/rules/typescript/no-non-null-assertion.md +++ b/src/docs/guide/usage/linter/rules/typescript/no-non-null-assertion.md @@ -43,4 +43,4 @@ oxlint --deny typescript/no-non-null-assertion ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/no_non_null_assertion.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/no_non_null_assertion.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/no-require-imports.md b/src/docs/guide/usage/linter/rules/typescript/no-require-imports.md index cd86f470e2..0a12719d4c 100644 --- a/src/docs/guide/usage/linter/rules/typescript/no-require-imports.md +++ b/src/docs/guide/usage/linter/rules/typescript/no-require-imports.md @@ -114,4 +114,4 @@ oxlint --deny typescript/no-require-imports ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/no_require_imports.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/no_require_imports.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/no-this-alias.md b/src/docs/guide/usage/linter/rules/typescript/no-this-alias.md index 4df0b7ede3..5c8237d678 100644 --- a/src/docs/guide/usage/linter/rules/typescript/no-this-alias.md +++ b/src/docs/guide/usage/linter/rules/typescript/no-this-alias.md @@ -48,4 +48,4 @@ oxlint --deny typescript/no-this-alias ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/no_this_alias.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/no_this_alias.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/no-unnecessary-parameter-property-assignment.md b/src/docs/guide/usage/linter/rules/typescript/no-unnecessary-parameter-property-assignment.md index d8f832a1a8..2a7f6dce58 100644 --- a/src/docs/guide/usage/linter/rules/typescript/no-unnecessary-parameter-property-assignment.md +++ b/src/docs/guide/usage/linter/rules/typescript/no-unnecessary-parameter-property-assignment.md @@ -1,8 +1,11 @@ -# typescript/no-unnecessary-parameter-property-assignment +# typescript/no-unnecessary-parameter-property-assignment
+ +βœ… This rule is turned on by default. + 🚧 An auto-fix is still under development. @@ -60,4 +63,4 @@ oxlint --deny typescript/no-unnecessary-parameter-property-assignment ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/no_unnecessary_parameter_property_assignment.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/no_unnecessary_parameter_property_assignment.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/no-unnecessary-type-constraint.md b/src/docs/guide/usage/linter/rules/typescript/no-unnecessary-type-constraint.md index 76f06df11c..b535fa189e 100644 --- a/src/docs/guide/usage/linter/rules/typescript/no-unnecessary-type-constraint.md +++ b/src/docs/guide/usage/linter/rules/typescript/no-unnecessary-type-constraint.md @@ -77,4 +77,4 @@ oxlint --deny typescript/no-unnecessary-type-constraint ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/no_unnecessary_type_constraint.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/no_unnecessary_type_constraint.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/no-unsafe-declaration-merging.md b/src/docs/guide/usage/linter/rules/typescript/no-unsafe-declaration-merging.md index 96ff833fba..385aa65884 100644 --- a/src/docs/guide/usage/linter/rules/typescript/no-unsafe-declaration-merging.md +++ b/src/docs/guide/usage/linter/rules/typescript/no-unsafe-declaration-merging.md @@ -46,4 +46,4 @@ oxlint --deny typescript/no-unsafe-declaration-merging ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/no_unsafe_declaration_merging.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/no_unsafe_declaration_merging.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/no-unsafe-function-type.md b/src/docs/guide/usage/linter/rules/typescript/no-unsafe-function-type.md index 024f98fafb..12cefe7843 100644 --- a/src/docs/guide/usage/linter/rules/typescript/no-unsafe-function-type.md +++ b/src/docs/guide/usage/linter/rules/typescript/no-unsafe-function-type.md @@ -63,4 +63,4 @@ oxlint --deny typescript/no-unsafe-function-type ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/no_unsafe_function_type.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/no_unsafe_function_type.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/no-useless-empty-export.md b/src/docs/guide/usage/linter/rules/typescript/no-useless-empty-export.md index ee8d72c161..f49e62486e 100644 --- a/src/docs/guide/usage/linter/rules/typescript/no-useless-empty-export.md +++ b/src/docs/guide/usage/linter/rules/typescript/no-useless-empty-export.md @@ -70,4 +70,4 @@ oxlint --deny typescript/no-useless-empty-export ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/no_useless_empty_export.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/no_useless_empty_export.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/no-var-requires.md b/src/docs/guide/usage/linter/rules/typescript/no-var-requires.md index 169d1cd9ec..0a93444256 100644 --- a/src/docs/guide/usage/linter/rules/typescript/no-var-requires.md +++ b/src/docs/guide/usage/linter/rules/typescript/no-var-requires.md @@ -41,4 +41,4 @@ oxlint --deny typescript/no-var-requires ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/no_var_requires.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/no_var_requires.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/no-wrapper-object-types.md b/src/docs/guide/usage/linter/rules/typescript/no-wrapper-object-types.md index 5f2446f28a..74993ddf05 100644 --- a/src/docs/guide/usage/linter/rules/typescript/no-wrapper-object-types.md +++ b/src/docs/guide/usage/linter/rules/typescript/no-wrapper-object-types.md @@ -67,4 +67,4 @@ oxlint --deny typescript/no-wrapper-object-types ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/no_wrapper_object_types.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/no_wrapper_object_types.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/prefer-as-const.md b/src/docs/guide/usage/linter/rules/typescript/prefer-as-const.md index a1133bb536..45e9264fc9 100644 --- a/src/docs/guide/usage/linter/rules/typescript/prefer-as-const.md +++ b/src/docs/guide/usage/linter/rules/typescript/prefer-as-const.md @@ -13,25 +13,38 @@ ### What it does -Enforce the use of as const over literal type. +Enforce the use of `as const` over literal type. ### Why is this bad? -There are two common ways to tell TypeScript that a literal value should be interpreted as its literal type (e.g. 2) rather than general primitive type (e.g. number); +There are two common ways to tell TypeScript that a literal value should be interpreted as +its literal type (e.g. `2`) rather than general primitive type (e.g. `number`); -as const: telling TypeScript to infer the literal type automatically -as with the literal type: explicitly telling the literal type to TypeScript +`as const`: telling TypeScript to infer the literal type automatically +`as` with the literal type: explicitly telling the literal type to TypeScript -as const is generally preferred, as it doesn't require re-typing the literal value. -This rule reports when an as with an explicit literal type can be replaced with an as const. +`as const` is generally preferred, as it doesn't require re-typing the literal value. +This rule reports when an `as` with an explicit literal type can be replaced with an `as const`. -### Example +### Examples + +Examples of **incorrect** code for this rule: ```ts let bar: 2 = 2; let foo = { bar: "baz" as "baz" }; ``` +Examples of **correct** code for this rule: + +```ts +let foo = "bar"; +let foo = "bar" as const; +let foo: "bar" = "bar" as const; +let bar = "bar" as string; +let foo = { bar: "baz" }; +``` + ## How to use To **enable** this rule in the CLI or using the config file, you can use: @@ -54,4 +67,4 @@ oxlint --deny typescript/prefer-as-const ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/prefer_as_const.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/prefer_as_const.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/prefer-enum-initializers.md b/src/docs/guide/usage/linter/rules/typescript/prefer-enum-initializers.md index c9d657be03..1d2fe7c53f 100644 --- a/src/docs/guide/usage/linter/rules/typescript/prefer-enum-initializers.md +++ b/src/docs/guide/usage/linter/rules/typescript/prefer-enum-initializers.md @@ -48,4 +48,4 @@ oxlint --deny typescript/prefer-enum-initializers ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/prefer_enum_initializers.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/prefer_enum_initializers.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/prefer-for-of.md b/src/docs/guide/usage/linter/rules/typescript/prefer-for-of.md index d4ce36d8af..22cbdb360a 100644 --- a/src/docs/guide/usage/linter/rules/typescript/prefer-for-of.md +++ b/src/docs/guide/usage/linter/rules/typescript/prefer-for-of.md @@ -58,4 +58,4 @@ oxlint --deny typescript/prefer-for-of ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/prefer_for_of.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/prefer_for_of.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/prefer-function-type.md b/src/docs/guide/usage/linter/rules/typescript/prefer-function-type.md index 0cb78b2e92..282ba17196 100644 --- a/src/docs/guide/usage/linter/rules/typescript/prefer-function-type.md +++ b/src/docs/guide/usage/linter/rules/typescript/prefer-function-type.md @@ -88,4 +88,4 @@ oxlint --deny typescript/prefer-function-type ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/prefer_function_type.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/prefer_function_type.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/prefer-literal-enum-member.md b/src/docs/guide/usage/linter/rules/typescript/prefer-literal-enum-member.md index 278ee28ad4..1ef86ed1da 100644 --- a/src/docs/guide/usage/linter/rules/typescript/prefer-literal-enum-member.md +++ b/src/docs/guide/usage/linter/rules/typescript/prefer-literal-enum-member.md @@ -49,4 +49,4 @@ oxlint --deny typescript/prefer-literal-enum-member ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/prefer_literal_enum_member.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/prefer_literal_enum_member.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/prefer-namespace-keyword.md b/src/docs/guide/usage/linter/rules/typescript/prefer-namespace-keyword.md index 2822e49178..de18ba81c2 100644 --- a/src/docs/guide/usage/linter/rules/typescript/prefer-namespace-keyword.md +++ b/src/docs/guide/usage/linter/rules/typescript/prefer-namespace-keyword.md @@ -46,4 +46,4 @@ oxlint --deny typescript/prefer-namespace-keyword ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/prefer_namespace_keyword.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/prefer_namespace_keyword.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/prefer-ts-expect-error.md b/src/docs/guide/usage/linter/rules/typescript/prefer-ts-expect-error.md index b46b7cce0f..fc1d9b6d36 100644 --- a/src/docs/guide/usage/linter/rules/typescript/prefer-ts-expect-error.md +++ b/src/docs/guide/usage/linter/rules/typescript/prefer-ts-expect-error.md @@ -55,4 +55,4 @@ oxlint --deny typescript/prefer-ts-expect-error ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/prefer_ts_expect_error.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/prefer_ts_expect_error.rs) diff --git a/src/docs/guide/usage/linter/rules/typescript/triple-slash-reference.md b/src/docs/guide/usage/linter/rules/typescript/triple-slash-reference.md index f0f41f2327..da638aa7f1 100644 --- a/src/docs/guide/usage/linter/rules/typescript/triple-slash-reference.md +++ b/src/docs/guide/usage/linter/rules/typescript/triple-slash-reference.md @@ -45,4 +45,4 @@ oxlint --deny typescript/triple-slash-reference ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/typescript/triple_slash_reference.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/typescript/triple_slash_reference.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/catch-error-name.md b/src/docs/guide/usage/linter/rules/unicorn/catch-error-name.md index 81be166ecc..6f38f0a641 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/catch-error-name.md +++ b/src/docs/guide/usage/linter/rules/unicorn/catch-error-name.md @@ -116,4 +116,4 @@ oxlint --deny unicorn/catch-error-name ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/catch_error_name.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/catch_error_name.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/consistent-date-clone.md b/src/docs/guide/usage/linter/rules/unicorn/consistent-date-clone.md index 2af70f1af5..f583ce5f36 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/consistent-date-clone.md +++ b/src/docs/guide/usage/linter/rules/unicorn/consistent-date-clone.md @@ -56,4 +56,4 @@ oxlint --deny unicorn/consistent-date-clone ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/consistent_date_clone.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/consistent_date_clone.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/consistent-empty-array-spread.md b/src/docs/guide/usage/linter/rules/unicorn/consistent-empty-array-spread.md index 94411fe892..cae9df4f22 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/consistent-empty-array-spread.md +++ b/src/docs/guide/usage/linter/rules/unicorn/consistent-empty-array-spread.md @@ -57,4 +57,4 @@ oxlint --deny unicorn/consistent-empty-array-spread ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/consistent_empty_array_spread.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/consistent_empty_array_spread.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/consistent-existence-index-check.md b/src/docs/guide/usage/linter/rules/unicorn/consistent-existence-index-check.md index 35f5ea3a26..98b9d93a6f 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/consistent-existence-index-check.md +++ b/src/docs/guide/usage/linter/rules/unicorn/consistent-existence-index-check.md @@ -69,4 +69,4 @@ oxlint --deny unicorn/consistent-existence-index-check ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/consistent_existence_index_check.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/consistent_existence_index_check.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/consistent-function-scoping.md b/src/docs/guide/usage/linter/rules/unicorn/consistent-function-scoping.md index 437f3893c6..9ca6fc4efa 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/consistent-function-scoping.md +++ b/src/docs/guide/usage/linter/rules/unicorn/consistent-function-scoping.md @@ -135,4 +135,4 @@ oxlint --deny unicorn/consistent-function-scoping ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/consistent_function_scoping.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/consistent_function_scoping.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/empty-brace-spaces.md b/src/docs/guide/usage/linter/rules/unicorn/empty-brace-spaces.md index 426ea816f9..0286171a6e 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/empty-brace-spaces.md +++ b/src/docs/guide/usage/linter/rules/unicorn/empty-brace-spaces.md @@ -58,4 +58,4 @@ oxlint --deny unicorn/empty-brace-spaces ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/empty_brace_spaces.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/empty_brace_spaces.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/error-message.md b/src/docs/guide/usage/linter/rules/unicorn/error-message.md index fd6cdf93c6..9199ce4460 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/error-message.md +++ b/src/docs/guide/usage/linter/rules/unicorn/error-message.md @@ -54,4 +54,4 @@ oxlint --deny unicorn/error-message ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/error_message.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/error_message.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/escape-case.md b/src/docs/guide/usage/linter/rules/unicorn/escape-case.md index f7d2feeb1a..bdee635bd3 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/escape-case.md +++ b/src/docs/guide/usage/linter/rules/unicorn/escape-case.md @@ -60,4 +60,4 @@ oxlint --deny unicorn/escape-case ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/escape_case.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/escape_case.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/explicit-length-check.md b/src/docs/guide/usage/linter/rules/unicorn/explicit-length-check.md index b84f2c40f1..ef283be384 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/explicit-length-check.md +++ b/src/docs/guide/usage/linter/rules/unicorn/explicit-length-check.md @@ -64,4 +64,4 @@ oxlint --deny unicorn/explicit-length-check ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/explicit_length_check.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/explicit_length_check.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/filename-case.md b/src/docs/guide/usage/linter/rules/unicorn/filename-case.md index b1c4c03dfa..ade0dd7577 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/filename-case.md +++ b/src/docs/guide/usage/linter/rules/unicorn/filename-case.md @@ -102,4 +102,4 @@ oxlint --deny unicorn/filename-case ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/filename_case.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/filename_case.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/new-for-builtins.md b/src/docs/guide/usage/linter/rules/unicorn/new-for-builtins.md index 5c5669bbf6..75ad5fb023 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/new-for-builtins.md +++ b/src/docs/guide/usage/linter/rules/unicorn/new-for-builtins.md @@ -7,15 +7,18 @@ ### What it does -Enforces the use of `new` for following builtins: `Object`, `Array`, `ArrayBuffer`, `BigInt64Array`, `BigUint64Array`, `DataView`, `Date`, `Error`, `Float32Array`, `Float64Array`, `Function`, `Int8Array`, `Int16Array`, `Int32Array`, `Map`, `WeakMap`, `Set`, `WeakSet`, `Promise`, `RegExp`, `Uint8Array`, `Uint16Array`, `Uint32Array`, `Uint8ClampedArray`, `SharedArrayBuffer`, `Proxy`, `WeakRef`, `FinalizationRegistry`. +Enforces the use of `new` for the following builtins: `Object`, `Array`, `ArrayBuffer`, `BigInt64Array`, +`BigUint64Array`, `DataView`, `Date`, `Error`, `Float32Array`, `Float64Array`, `Function`, `Int8Array`, +`Int16Array`, `Int32Array`, `Map`, `WeakMap`, `Set`, `WeakSet`, `Promise`, `RegExp`, `Uint8Array`, +`Uint16Array`, `Uint32Array`, `Uint8ClampedArray`, `SharedArrayBuffer`, `Proxy`, `WeakRef`, `FinalizationRegistry`. -Disallows the use of `new` for following builtins: `String`, `Number`, `Boolean`, `Symbol`, `BigInt`. - -These should not use `new` as that would create object wrappers for the primitive values, which is not what you want. However, without `new` they can be useful for coercing a value to that type. +Disallows the use of `new` for the following builtins: `String`, `Number`, `Boolean`, `Symbol`, `BigInt`. ### Why is this bad? -They work the same, but `new` should be preferred for consistency with other constructors. +Using `new` inconsistently can cause confusion. Constructors like `Array` and `RegExp` should always use `new` +to ensure the expected instance type. Meanwhile, `String`, `Number`, `Boolean`, `Symbol`, and `BigInt` should not use `new`, +as they create object wrappers instead of primitive values. ### Examples @@ -55,4 +58,4 @@ oxlint --deny unicorn/new-for-builtins ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/new_for_builtins.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/new_for_builtins.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-abusive-eslint-disable.md b/src/docs/guide/usage/linter/rules/unicorn/no-abusive-eslint-disable.md index 1d38370e40..2ebd25ef6a 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-abusive-eslint-disable.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-abusive-eslint-disable.md @@ -7,11 +7,12 @@ ### What it does -This rule disallows `eslint-disable` comments that do not specify any rules to disable. +Disallows `oxlint-disable` or `eslint-disable` comments without specifying rules. ### Why is this bad? -When only one rule should be disabled but the `eslint-disable` comment does not specify any rules, other useful errors will also be silently ignored. +A general `oxlint-disable` or `eslint-disable` comment suppresses all lint errors, not just the intended one, +potentially hiding useful warnings and making debugging harder. ### Examples @@ -61,4 +62,4 @@ oxlint --deny unicorn/no-abusive-eslint-disable ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_abusive_eslint_disable.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_abusive_eslint_disable.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-anonymous-default-export.md b/src/docs/guide/usage/linter/rules/unicorn/no-anonymous-default-export.md index 62b5009257..87e9732e2b 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-anonymous-default-export.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-anonymous-default-export.md @@ -7,15 +7,14 @@ ### What it does -Disallow anonymous functions and classes as the default export +Disallows anonymous functions and classes as default exports. ### Why is this bad? -Naming default exports improves codebase searchability by ensuring -consistent identifier use for a module's default export, both where it's -declared and where it's imported. +Naming default exports improves searchability and ensures consistent +identifiers for a module’s default export in both declaration and import. -### Example +### Examples Examples of **incorrect** code for this rule: @@ -66,4 +65,4 @@ oxlint --deny unicorn/no-anonymous-default-export ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_anonymous_default_export.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_anonymous_default_export.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-array-for-each.md b/src/docs/guide/usage/linter/rules/unicorn/no-array-for-each.md index 65d888f966..4843ca0ced 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-array-for-each.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-array-for-each.md @@ -64,4 +64,4 @@ oxlint --deny unicorn/no-array-for-each ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_array_for_each.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_array_for_each.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-array-reduce.md b/src/docs/guide/usage/linter/rules/unicorn/no-array-reduce.md index 88a51897c0..4614c458da 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-array-reduce.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-array-reduce.md @@ -44,4 +44,4 @@ oxlint --deny unicorn/no-array-reduce ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_array_reduce.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_array_reduce.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-await-expression-member.md b/src/docs/guide/usage/linter/rules/unicorn/no-await-expression-member.md index 7b347541f6..b137d07417 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-await-expression-member.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-await-expression-member.md @@ -51,4 +51,4 @@ oxlint --deny unicorn/no-await-expression-member ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_await_expression_member.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_await_expression_member.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-await-in-promise-methods.md b/src/docs/guide/usage/linter/rules/unicorn/no-await-in-promise-methods.md index 435c44d409..1dc1f687fb 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-await-in-promise-methods.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-await-in-promise-methods.md @@ -64,4 +64,4 @@ oxlint --deny unicorn/no-await-in-promise-methods ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_await_in_promise_methods.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_await_in_promise_methods.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-console-spaces.md b/src/docs/guide/usage/linter/rules/unicorn/no-console-spaces.md index 81f9bdb3b3..477984570e 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-console-spaces.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-console-spaces.md @@ -52,4 +52,4 @@ oxlint --deny unicorn/no-console-spaces ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_console_spaces.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_console_spaces.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-document-cookie.md b/src/docs/guide/usage/linter/rules/unicorn/no-document-cookie.md index 3a355fcf96..3a5c848d94 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-document-cookie.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-document-cookie.md @@ -66,4 +66,4 @@ oxlint --deny unicorn/no-document-cookie ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_document_cookie.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_document_cookie.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-empty-file.md b/src/docs/guide/usage/linter/rules/unicorn/no-empty-file.md index 920e9b9374..8fa9302a56 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-empty-file.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-empty-file.md @@ -45,4 +45,4 @@ oxlint --deny unicorn/no-empty-file ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_empty_file.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_empty_file.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-hex-escape.md b/src/docs/guide/usage/linter/rules/unicorn/no-hex-escape.md index 6f4b4d1920..264b7d62b8 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-hex-escape.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-hex-escape.md @@ -52,4 +52,4 @@ oxlint --deny unicorn/no-hex-escape ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_hex_escape.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_hex_escape.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-instanceof-array.md b/src/docs/guide/usage/linter/rules/unicorn/no-instanceof-array.md index 9c838b1e61..5c2f12d718 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-instanceof-array.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-instanceof-array.md @@ -45,4 +45,4 @@ oxlint --deny unicorn/no-instanceof-array ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_instanceof_array.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_instanceof_array.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-invalid-fetch-options.md b/src/docs/guide/usage/linter/rules/unicorn/no-invalid-fetch-options.md index e7d538d026..8482282876 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-invalid-fetch-options.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-invalid-fetch-options.md @@ -59,4 +59,4 @@ oxlint --deny unicorn/no-invalid-fetch-options ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_invalid_fetch_options.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_invalid_fetch_options.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-invalid-remove-event-listener.md b/src/docs/guide/usage/linter/rules/unicorn/no-invalid-remove-event-listener.md index bea075e950..f353433905 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-invalid-remove-event-listener.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-invalid-remove-event-listener.md @@ -54,4 +54,4 @@ oxlint --deny unicorn/no-invalid-remove-event-listener ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_invalid_remove_event_listener.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_invalid_remove_event_listener.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-length-as-slice-end.md b/src/docs/guide/usage/linter/rules/unicorn/no-length-as-slice-end.md index 11f80a8276..259cca5e30 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-length-as-slice-end.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-length-as-slice-end.md @@ -52,4 +52,4 @@ oxlint --deny unicorn/no-length-as-slice-end ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_length_as_slice_end.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_length_as_slice_end.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-lonely-if.md b/src/docs/guide/usage/linter/rules/unicorn/no-lonely-if.md index 6c6494e2fd..786a5a9b1a 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-lonely-if.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-lonely-if.md @@ -55,4 +55,4 @@ oxlint --deny unicorn/no-lonely-if ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_lonely_if.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_lonely_if.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-magic-array-flat-depth.md b/src/docs/guide/usage/linter/rules/unicorn/no-magic-array-flat-depth.md index 9b9230537c..9323184672 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-magic-array-flat-depth.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-magic-array-flat-depth.md @@ -53,4 +53,4 @@ oxlint --deny unicorn/no-magic-array-flat-depth ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_magic_array_flat_depth.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_magic_array_flat_depth.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-negation-in-equality-check.md b/src/docs/guide/usage/linter/rules/unicorn/no-negation-in-equality-check.md index 5539787a1a..3e4f588bf6 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-negation-in-equality-check.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-negation-in-equality-check.md @@ -60,4 +60,4 @@ oxlint --deny unicorn/no-negation-in-equality-check ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_negation_in_equality_check.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_negation_in_equality_check.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-nested-ternary.md b/src/docs/guide/usage/linter/rules/unicorn/no-nested-ternary.md index b5539429a3..17075e8e08 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-nested-ternary.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-nested-ternary.md @@ -55,4 +55,4 @@ oxlint --deny unicorn/no-nested-ternary ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_nested_ternary.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_nested_ternary.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-new-array.md b/src/docs/guide/usage/linter/rules/unicorn/no-new-array.md index e26d0a2eed..d69155c7df 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-new-array.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-new-array.md @@ -58,4 +58,4 @@ oxlint --deny unicorn/no-new-array ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_new_array.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_new_array.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-new-buffer.md b/src/docs/guide/usage/linter/rules/unicorn/no-new-buffer.md index 350f18f2d0..ed38fcfac1 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-new-buffer.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-new-buffer.md @@ -52,4 +52,4 @@ oxlint --deny unicorn/no-new-buffer ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_new_buffer.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_new_buffer.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-null.md b/src/docs/guide/usage/linter/rules/unicorn/no-null.md index 8a24ed3174..d84371e72f 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-null.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-null.md @@ -56,4 +56,4 @@ oxlint --deny unicorn/no-null ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_null.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_null.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-object-as-default-parameter.md b/src/docs/guide/usage/linter/rules/unicorn/no-object-as-default-parameter.md index 8fb16aa973..fcad25c5fc 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-object-as-default-parameter.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-object-as-default-parameter.md @@ -49,4 +49,4 @@ oxlint --deny unicorn/no-object-as-default-parameter ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_object_as_default_parameter.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_object_as_default_parameter.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-process-exit.md b/src/docs/guide/usage/linter/rules/unicorn/no-process-exit.md index a0b17daae6..13de13e575 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-process-exit.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-process-exit.md @@ -57,4 +57,4 @@ oxlint --deny unicorn/no-process-exit ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_process_exit.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_process_exit.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-single-promise-in-promise-methods.md b/src/docs/guide/usage/linter/rules/unicorn/no-single-promise-in-promise-methods.md index 47267432f4..0f67b6c0f1 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-single-promise-in-promise-methods.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-single-promise-in-promise-methods.md @@ -67,4 +67,4 @@ oxlint --deny unicorn/no-single-promise-in-promise-methods ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_single_promise_in_promise_methods.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_single_promise_in_promise_methods.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-static-only-class.md b/src/docs/guide/usage/linter/rules/unicorn/no-static-only-class.md index 27e09a92bf..32efe6ab7f 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-static-only-class.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-static-only-class.md @@ -72,4 +72,4 @@ oxlint --deny unicorn/no-static-only-class ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_static_only_class.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_static_only_class.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-thenable.md b/src/docs/guide/usage/linter/rules/unicorn/no-thenable.md index 5d707c4d9d..20f1eef477 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-thenable.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-thenable.md @@ -54,4 +54,4 @@ oxlint --deny unicorn/no-thenable ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_thenable.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_thenable.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-this-assignment.md b/src/docs/guide/usage/linter/rules/unicorn/no-this-assignment.md index 55a1e798aa..3f4af0fde6 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-this-assignment.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-this-assignment.md @@ -65,4 +65,4 @@ oxlint --deny unicorn/no-this-assignment ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_this_assignment.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_this_assignment.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-typeof-undefined.md b/src/docs/guide/usage/linter/rules/unicorn/no-typeof-undefined.md index 964e8620df..bbf6494698 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-typeof-undefined.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-typeof-undefined.md @@ -52,4 +52,4 @@ oxlint --deny unicorn/no-typeof-undefined ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_typeof_undefined.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_typeof_undefined.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-unnecessary-await.md b/src/docs/guide/usage/linter/rules/unicorn/no-unnecessary-await.md index 9958f2ac47..5f2fc4fa65 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-unnecessary-await.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-unnecessary-await.md @@ -49,4 +49,4 @@ oxlint --deny unicorn/no-unnecessary-await ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_unnecessary_await.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_unnecessary_await.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-unreadable-array-destructuring.md b/src/docs/guide/usage/linter/rules/unicorn/no-unreadable-array-destructuring.md index fca59a4459..ae82522af5 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-unreadable-array-destructuring.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-unreadable-array-destructuring.md @@ -50,4 +50,4 @@ oxlint --deny unicorn/no-unreadable-array-destructuring ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_unreadable_array_destructuring.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_unreadable_array_destructuring.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-unreadable-iife.md b/src/docs/guide/usage/linter/rules/unicorn/no-unreadable-iife.md index 4d9ba69958..760cccc4ba 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-unreadable-iife.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-unreadable-iife.md @@ -59,4 +59,4 @@ oxlint --deny unicorn/no-unreadable-iife ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_unreadable_iife.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_unreadable_iife.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-useless-fallback-in-spread.md b/src/docs/guide/usage/linter/rules/unicorn/no-useless-fallback-in-spread.md index bbf8b87a4f..2ab319cc65 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-useless-fallback-in-spread.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-useless-fallback-in-spread.md @@ -56,4 +56,4 @@ oxlint --deny unicorn/no-useless-fallback-in-spread ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_useless_fallback_in_spread.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_useless_fallback_in_spread.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-useless-length-check.md b/src/docs/guide/usage/linter/rules/unicorn/no-useless-length-check.md index 65d56618af..a472887817 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-useless-length-check.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-useless-length-check.md @@ -54,4 +54,4 @@ oxlint --deny unicorn/no-useless-length-check ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_useless_length_check.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_useless_length_check.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-useless-promise-resolve-reject.md b/src/docs/guide/usage/linter/rules/unicorn/no-useless-promise-resolve-reject.md index 061714c393..ff7105669c 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-useless-promise-resolve-reject.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-useless-promise-resolve-reject.md @@ -52,4 +52,4 @@ oxlint --deny unicorn/no-useless-promise-resolve-reject ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_useless_promise_resolve_reject.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_useless_promise_resolve_reject.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-useless-spread.md b/src/docs/guide/usage/linter/rules/unicorn/no-useless-spread.md index 61a2edbeca..9cf1a8296a 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-useless-spread.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-useless-spread.md @@ -101,4 +101,4 @@ oxlint --deny unicorn/no-useless-spread ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_useless_spread/mod.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_useless_spread/mod.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-useless-switch-case.md b/src/docs/guide/usage/linter/rules/unicorn/no-useless-switch-case.md index 3050903b20..d7ceed91aa 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-useless-switch-case.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-useless-switch-case.md @@ -62,4 +62,4 @@ oxlint --deny unicorn/no-useless-switch-case ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_useless_switch_case.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_useless_switch_case.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-useless-undefined.md b/src/docs/guide/usage/linter/rules/unicorn/no-useless-undefined.md index b0f72949ac..639c4bd261 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-useless-undefined.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-useless-undefined.md @@ -52,4 +52,4 @@ oxlint --deny unicorn/no-useless-undefined ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_useless_undefined.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_useless_undefined.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/no-zero-fractions.md b/src/docs/guide/usage/linter/rules/unicorn/no-zero-fractions.md index f0e84317c1..caab76630e 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/no-zero-fractions.md +++ b/src/docs/guide/usage/linter/rules/unicorn/no-zero-fractions.md @@ -57,4 +57,4 @@ oxlint --deny unicorn/no-zero-fractions ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/no_zero_fractions.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/no_zero_fractions.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/number-literal-case.md b/src/docs/guide/usage/linter/rules/unicorn/number-literal-case.md index af67e9e38e..57071441f2 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/number-literal-case.md +++ b/src/docs/guide/usage/linter/rules/unicorn/number-literal-case.md @@ -67,4 +67,4 @@ oxlint --deny unicorn/number-literal-case ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/number_literal_case.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/number_literal_case.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/numeric-separators-style.md b/src/docs/guide/usage/linter/rules/unicorn/numeric-separators-style.md index e6be107acc..dba15eea60 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/numeric-separators-style.md +++ b/src/docs/guide/usage/linter/rules/unicorn/numeric-separators-style.md @@ -48,4 +48,4 @@ oxlint --deny unicorn/numeric-separators-style ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/numeric_separators_style.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/numeric_separators_style.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-add-event-listener.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-add-event-listener.md index aa27ff93ba..38c7d1c5d3 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-add-event-listener.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-add-event-listener.md @@ -54,4 +54,4 @@ oxlint --deny unicorn/prefer-add-event-listener ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_add_event_listener.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_add_event_listener.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-array-flat-map.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-array-flat-map.md index 861d5771b3..54cadfb47f 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-array-flat-map.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-array-flat-map.md @@ -46,4 +46,4 @@ oxlint --deny unicorn/prefer-array-flat-map ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_array_flat_map.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_array_flat_map.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-array-flat.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-array-flat.md index 008653fb59..32b1b6c830 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-array-flat.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-array-flat.md @@ -63,4 +63,4 @@ oxlint --deny unicorn/prefer-array-flat ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_array_flat.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_array_flat.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-array-some.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-array-some.md index 7fc21ee77d..ae55991431 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-array-some.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-array-some.md @@ -61,4 +61,4 @@ oxlint --deny unicorn/prefer-array-some ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_array_some.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_array_some.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-blob-reading-methods.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-blob-reading-methods.md index 70e1d88741..9bd8731c18 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-blob-reading-methods.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-blob-reading-methods.md @@ -59,4 +59,4 @@ oxlint --deny unicorn/prefer-blob-reading-methods ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_blob_reading_methods.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_blob_reading_methods.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-code-point.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-code-point.md index 8aa986f29e..6ad7d64ebb 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-code-point.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-code-point.md @@ -57,4 +57,4 @@ oxlint --deny unicorn/prefer-code-point ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_code_point.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_code_point.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-date-now.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-date-now.md index 712d838056..853e78ae0a 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-date-now.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-date-now.md @@ -53,4 +53,4 @@ oxlint --deny unicorn/prefer-date-now ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_date_now.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_date_now.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-dom-node-append.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-dom-node-append.md index 5231cd6672..31cef53f33 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-dom-node-append.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-dom-node-append.md @@ -52,4 +52,4 @@ oxlint --deny unicorn/prefer-dom-node-append ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_dom_node_append.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_dom_node_append.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-dom-node-dataset.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-dom-node-dataset.md index 0bfed1edd1..8241685b37 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-dom-node-dataset.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-dom-node-dataset.md @@ -52,4 +52,4 @@ oxlint --deny unicorn/prefer-dom-node-dataset ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_dom_node_dataset.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_dom_node_dataset.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-dom-node-remove.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-dom-node-remove.md index 5d2161454d..34f24653e4 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-dom-node-remove.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-dom-node-remove.md @@ -49,4 +49,4 @@ oxlint --deny unicorn/prefer-dom-node-remove ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_dom_node_remove.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_dom_node_remove.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-dom-node-text-content.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-dom-node-text-content.md index 0e346ed5a8..f05371ddaa 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-dom-node-text-content.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-dom-node-text-content.md @@ -56,4 +56,4 @@ oxlint --deny unicorn/prefer-dom-node-text-content ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_dom_node_text_content.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_dom_node_text_content.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-event-target.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-event-target.md index 6dc19e6139..81700274b7 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-event-target.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-event-target.md @@ -53,4 +53,4 @@ oxlint --deny unicorn/prefer-event-target ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_event_target.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_event_target.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-includes.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-includes.md index 221944620e..1d70a0d855 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-includes.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-includes.md @@ -55,4 +55,4 @@ oxlint --deny unicorn/prefer-includes ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_includes.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_includes.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-logical-operator-over-ternary.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-logical-operator-over-ternary.md index 899439a59f..143811a592 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-logical-operator-over-ternary.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-logical-operator-over-ternary.md @@ -54,4 +54,4 @@ oxlint --deny unicorn/prefer-logical-operator-over-ternary ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_logical_operator_over_ternary.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_logical_operator_over_ternary.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-math-min-max.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-math-min-max.md index 3d8f11c10d..ccb66db610 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-math-min-max.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-math-min-max.md @@ -52,4 +52,4 @@ oxlint --deny unicorn/prefer-math-min-max ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_math_min_max.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_math_min_max.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-math-trunc.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-math-trunc.md index 49e3c25354..3ab9a60676 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-math-trunc.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-math-trunc.md @@ -60,4 +60,4 @@ oxlint --deny unicorn/prefer-math-trunc ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_math_trunc.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_math_trunc.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-modern-dom-apis.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-modern-dom-apis.md index 813c0ada33..2b1c2329f2 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-modern-dom-apis.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-modern-dom-apis.md @@ -61,4 +61,4 @@ oxlint --deny unicorn/prefer-modern-dom-apis ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_modern_dom_apis.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_modern_dom_apis.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-modern-math-apis.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-modern-math-apis.md index 4bb48a0ec4..5d93b18f85 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-modern-math-apis.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-modern-math-apis.md @@ -59,4 +59,4 @@ oxlint --deny unicorn/prefer-modern-math-apis ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_modern_math_apis.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_modern_math_apis.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-native-coercion-functions.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-native-coercion-functions.md index 07fd02706b..5a760c0f38 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-native-coercion-functions.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-native-coercion-functions.md @@ -58,4 +58,4 @@ oxlint --deny unicorn/prefer-native-coercion-functions ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_native_coercion_functions.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_native_coercion_functions.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-negative-index.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-negative-index.md index 140a1f0ffd..b0de0db2a1 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-negative-index.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-negative-index.md @@ -54,4 +54,4 @@ oxlint --deny unicorn/prefer-negative-index ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_negative_index.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_negative_index.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-node-protocol.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-node-protocol.md index d92431abfd..898bde1329 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-node-protocol.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-node-protocol.md @@ -52,4 +52,4 @@ oxlint --deny unicorn/prefer-node-protocol ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_node_protocol.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_node_protocol.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-number-properties.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-number-properties.md index d2a527a1b0..ae8b6e3069 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-number-properties.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-number-properties.md @@ -62,4 +62,4 @@ oxlint --deny unicorn/prefer-number-properties ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_number_properties.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_number_properties.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-optional-catch-binding.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-optional-catch-binding.md index 9d10de1cbf..a598e0ee68 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-optional-catch-binding.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-optional-catch-binding.md @@ -56,4 +56,4 @@ oxlint --deny unicorn/prefer-optional-catch-binding ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_optional_catch_binding.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_optional_catch_binding.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-prototype-methods.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-prototype-methods.md index 69929719be..e09dfc662b 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-prototype-methods.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-prototype-methods.md @@ -57,4 +57,4 @@ oxlint --deny unicorn/prefer-prototype-methods ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_prototype_methods.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_prototype_methods.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-query-selector.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-query-selector.md index 685d7c6af0..a710dc9bd2 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-query-selector.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-query-selector.md @@ -61,4 +61,4 @@ oxlint --deny unicorn/prefer-query-selector ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_query_selector.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_query_selector.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-reflect-apply.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-reflect-apply.md index add5d66126..e79fb66b0f 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-reflect-apply.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-reflect-apply.md @@ -49,4 +49,4 @@ oxlint --deny unicorn/prefer-reflect-apply ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_reflect_apply.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_reflect_apply.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-regexp-test.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-regexp-test.md index febece3a96..6cecd7e924 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-regexp-test.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-regexp-test.md @@ -57,4 +57,4 @@ oxlint --deny unicorn/prefer-regexp-test ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_regexp_test.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_regexp_test.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-set-has.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-set-has.md index 1195f30fc5..8af98734df 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-set-has.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-set-has.md @@ -59,4 +59,4 @@ oxlint --deny unicorn/prefer-set-has ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_set_has.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_set_has.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-set-size.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-set-size.md index be93f00aa5..af55af64d2 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-set-size.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-set-size.md @@ -55,4 +55,4 @@ oxlint --deny unicorn/prefer-set-size ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_set_size.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_set_size.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-spread.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-spread.md index 8488f83aeb..ca1f3b4c47 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-spread.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-spread.md @@ -54,4 +54,4 @@ oxlint --deny unicorn/prefer-spread ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_spread.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_spread.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-string-raw.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-string-raw.md index f738d8c8a3..7620cbc413 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-string-raw.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-string-raw.md @@ -54,4 +54,4 @@ oxlint --deny unicorn/prefer-string-raw ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_string_raw.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_string_raw.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-string-replace-all.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-string-replace-all.md index e4e66259cb..2c785e928c 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-string-replace-all.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-string-replace-all.md @@ -56,4 +56,4 @@ oxlint --deny unicorn/prefer-string-replace-all ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_string_replace_all.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_string_replace_all.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-string-slice.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-string-slice.md index b158ffc108..88520d2aa6 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-string-slice.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-string-slice.md @@ -52,4 +52,4 @@ oxlint --deny unicorn/prefer-string-slice ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_string_slice.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_string_slice.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-string-starts-ends-with.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-string-starts-ends-with.md index 0288c8ed00..baa2afc531 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-string-starts-ends-with.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-string-starts-ends-with.md @@ -57,4 +57,4 @@ oxlint --deny unicorn/prefer-string-starts-ends-with ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_string_starts_ends_with.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_string_starts_ends_with.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-string-trim-start-end.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-string-trim-start-end.md index f54f9b31d3..88354b989c 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-string-trim-start-end.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-string-trim-start-end.md @@ -54,4 +54,4 @@ oxlint --deny unicorn/prefer-string-trim-start-end ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_string_trim_start_end.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_string_trim_start_end.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-structured-clone.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-structured-clone.md index 7f2e5d9d1a..e149aa9eb3 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-structured-clone.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-structured-clone.md @@ -54,4 +54,4 @@ oxlint --deny unicorn/prefer-structured-clone ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_structured_clone.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_structured_clone.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/prefer-type-error.md b/src/docs/guide/usage/linter/rules/unicorn/prefer-type-error.md index e680f44612..34626b2187 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/prefer-type-error.md +++ b/src/docs/guide/usage/linter/rules/unicorn/prefer-type-error.md @@ -56,4 +56,4 @@ oxlint --deny unicorn/prefer-type-error ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/prefer_type_error.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/prefer_type_error.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/require-array-join-separator.md b/src/docs/guide/usage/linter/rules/unicorn/require-array-join-separator.md index 4b4e4ab712..60038c8332 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/require-array-join-separator.md +++ b/src/docs/guide/usage/linter/rules/unicorn/require-array-join-separator.md @@ -53,4 +53,4 @@ oxlint --deny unicorn/require-array-join-separator ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/require_array_join_separator.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/require_array_join_separator.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/require-number-to-fixed-digits-argument.md b/src/docs/guide/usage/linter/rules/unicorn/require-number-to-fixed-digits-argument.md index 2c9afa8548..9027ddf25a 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/require-number-to-fixed-digits-argument.md +++ b/src/docs/guide/usage/linter/rules/unicorn/require-number-to-fixed-digits-argument.md @@ -54,4 +54,4 @@ oxlint --deny unicorn/require-number-to-fixed-digits-argument ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/require_number_to_fixed_digits_argument.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/require_number_to_fixed_digits_argument.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/require-post-message-target-origin.md b/src/docs/guide/usage/linter/rules/unicorn/require-post-message-target-origin.md index 0e9cecc056..adff2af353 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/require-post-message-target-origin.md +++ b/src/docs/guide/usage/linter/rules/unicorn/require-post-message-target-origin.md @@ -55,4 +55,4 @@ oxlint --deny unicorn/require-post-message-target-origin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/require_post_message_target_origin.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/require_post_message_target_origin.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/switch-case-braces.md b/src/docs/guide/usage/linter/rules/unicorn/switch-case-braces.md index 76f61563fb..c9c09fb1f4 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/switch-case-braces.md +++ b/src/docs/guide/usage/linter/rules/unicorn/switch-case-braces.md @@ -50,4 +50,4 @@ oxlint --deny unicorn/switch-case-braces ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/switch_case_braces.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/switch_case_braces.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/text-encoding-identifier-case.md b/src/docs/guide/usage/linter/rules/unicorn/text-encoding-identifier-case.md index 35c2dc09ee..8d791641e1 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/text-encoding-identifier-case.md +++ b/src/docs/guide/usage/linter/rules/unicorn/text-encoding-identifier-case.md @@ -69,4 +69,4 @@ oxlint --deny unicorn/text-encoding-identifier-case ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/text_encoding_identifier_case.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/text_encoding_identifier_case.rs) diff --git a/src/docs/guide/usage/linter/rules/unicorn/throw-new-error.md b/src/docs/guide/usage/linter/rules/unicorn/throw-new-error.md index ca93c953c9..6b6f5d7dde 100644 --- a/src/docs/guide/usage/linter/rules/unicorn/throw-new-error.md +++ b/src/docs/guide/usage/linter/rules/unicorn/throw-new-error.md @@ -56,4 +56,4 @@ oxlint --deny unicorn/throw-new-error ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/unicorn/throw_new_error.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/unicorn/throw_new_error.rs) diff --git a/src/docs/guide/usage/linter/rules/vitest/no-conditional-tests.md b/src/docs/guide/usage/linter/rules/vitest/no-conditional-tests.md index a9ee5fd4c5..3567eae1fe 100644 --- a/src/docs/guide/usage/linter/rules/vitest/no-conditional-tests.md +++ b/src/docs/guide/usage/linter/rules/vitest/no-conditional-tests.md @@ -66,4 +66,4 @@ oxlint --deny vitest/no-conditional-tests --vitest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/vitest/no_conditional_tests.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/vitest/no_conditional_tests.rs) diff --git a/src/docs/guide/usage/linter/rules/vitest/no-import-node-test.md b/src/docs/guide/usage/linter/rules/vitest/no-import-node-test.md index 92ed4b54ab..9482f133f5 100644 --- a/src/docs/guide/usage/linter/rules/vitest/no-import-node-test.md +++ b/src/docs/guide/usage/linter/rules/vitest/no-import-node-test.md @@ -65,4 +65,4 @@ oxlint --deny vitest/no-import-node-test --vitest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/vitest/no_import_node_test.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/vitest/no_import_node_test.rs) diff --git a/src/docs/guide/usage/linter/rules/vitest/prefer-to-be-falsy.md b/src/docs/guide/usage/linter/rules/vitest/prefer-to-be-falsy.md index de1f7cb099..9bff7962c7 100644 --- a/src/docs/guide/usage/linter/rules/vitest/prefer-to-be-falsy.md +++ b/src/docs/guide/usage/linter/rules/vitest/prefer-to-be-falsy.md @@ -58,4 +58,4 @@ oxlint --deny vitest/prefer-to-be-falsy --vitest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/vitest/prefer_to_be_falsy.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/vitest/prefer_to_be_falsy.rs) diff --git a/src/docs/guide/usage/linter/rules/vitest/prefer-to-be-object.md b/src/docs/guide/usage/linter/rules/vitest/prefer-to-be-object.md index 426bac735f..b0968ac2e8 100644 --- a/src/docs/guide/usage/linter/rules/vitest/prefer-to-be-object.md +++ b/src/docs/guide/usage/linter/rules/vitest/prefer-to-be-object.md @@ -58,4 +58,4 @@ oxlint --deny vitest/prefer-to-be-object --vitest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/vitest/prefer_to_be_object.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/vitest/prefer_to_be_object.rs) diff --git a/src/docs/guide/usage/linter/rules/vitest/prefer-to-be-truthy.md b/src/docs/guide/usage/linter/rules/vitest/prefer-to-be-truthy.md index b2db2d1428..af09d4e8de 100644 --- a/src/docs/guide/usage/linter/rules/vitest/prefer-to-be-truthy.md +++ b/src/docs/guide/usage/linter/rules/vitest/prefer-to-be-truthy.md @@ -58,4 +58,4 @@ oxlint --deny vitest/prefer-to-be-truthy --vitest-plugin ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/vitest/prefer_to_be_truthy.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/vitest/prefer_to_be_truthy.rs) diff --git a/src/docs/guide/usage/linter/rules/vitest/require-local-test-context-for-concurrent-snapshots.md b/src/docs/guide/usage/linter/rules/vitest/require-local-test-context-for-concurrent-snapshots.md index 8c19bc41bb..61359a7a02 100644 --- a/src/docs/guide/usage/linter/rules/vitest/require-local-test-context-for-concurrent-snapshots.md +++ b/src/docs/guide/usage/linter/rules/vitest/require-local-test-context-for-concurrent-snapshots.md @@ -74,4 +74,4 @@ oxlint --deny vitest/require-local-test-context-for-concurrent-snapshots --vites ## References -- [Rule Source](https://github.com/oxc-project/oxc/blob/c22276e8fbbf443c4293a3cfe7758ac1ceea325c/crates/oxc_linter/src/rules/vitest/require_local_test_context_for_concurrent_snapshots.rs) +- [Rule Source](https://github.com/oxc-project/oxc/blob/c6312915dfb377a0f6aad8d9b4beb04d7eccd780/crates/oxc_linter/src/rules/vitest/require_local_test_context_for_concurrent_snapshots.rs)