Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 13 additions & 10 deletions src/docs/guide/usage/linter/generated-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The progress of all rule implementations is tracked [here](https://github.com/oxc-project/oxc/issues/481).

- Total number of rules: 504
- Total number of rules: 507
- Rules turned on by default: 123

**Legend for 'Fixable?' column:**
Expand All @@ -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? |
Expand All @@ -39,7 +39,7 @@ Code that is outright wrong or useless.
| [no-empty-static-block](/docs/guide/usage/linter/rules/eslint/no-empty-static-block.html) | eslint | ✅ | 💡 |
| [no-eval](/docs/guide/usage/linter/rules/eslint/no-eval.html) | eslint | ✅ | |
| [no-ex-assign](/docs/guide/usage/linter/rules/eslint/no-ex-assign.html) | eslint | ✅ | |
| [no-extra-boolean-cast](/docs/guide/usage/linter/rules/eslint/no-extra-boolean-cast.html) | eslint | ✅ | 🚧 |
| [no-extra-boolean-cast](/docs/guide/usage/linter/rules/eslint/no-extra-boolean-cast.html) | eslint | ✅ | 🛠️💡 |
| [no-func-assign](/docs/guide/usage/linter/rules/eslint/no-func-assign.html) | eslint | ✅ | |
| [no-global-assign](/docs/guide/usage/linter/rules/eslint/no-global-assign.html) | eslint | ✅ | |
| [no-import-assign](/docs/guide/usage/linter/rules/eslint/no-import-assign.html) | eslint | ✅ | |
Expand Down Expand Up @@ -152,6 +152,7 @@ Code that is outright wrong or useless.
| [no-callback-in-promise](/docs/guide/usage/linter/rules/promise/no-callback-in-promise.html) | promise | ✅ | |
| [no-new-statics](/docs/guide/usage/linter/rules/promise/no-new-statics.html) | promise | ✅ | 🛠️ |
| [valid-params](/docs/guide/usage/linter/rules/promise/valid-params.html) | promise | ✅ | |
| [forward-ref-uses-ref](/docs/guide/usage/linter/rules/react/forward-ref-uses-ref.html) | react | ✅ | 🚧 |
| [jsx-key](/docs/guide/usage/linter/rules/react/jsx-key.html) | react | ✅ | |
| [jsx-no-duplicate-props](/docs/guide/usage/linter/rules/react/jsx-no-duplicate-props.html) | react | ✅ | |
| [jsx-no-target-blank](/docs/guide/usage/linter/rules/react/jsx-no-target-blank.html) | react | ✅ | |
Expand Down Expand Up @@ -276,13 +277,14 @@ Lints which prevent the use of language and library features. Must not be enable
| [no-process-exit](/docs/guide/usage/linter/rules/unicorn/no-process-exit.html) | unicorn | | 🚧 |
| [prefer-modern-math-apis](/docs/guide/usage/linter/rules/unicorn/prefer-modern-math-apis.html) | unicorn | | 🚧 |
| [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 | | 🚧 |
| [prefer-number-properties](/docs/guide/usage/linter/rules/unicorn/prefer-number-properties.html) | unicorn | | ⚠️🛠️️ |

## Suspicious (30):
## Suspicious (31):

code that is most likely wrong or useless.
| Rule name | Source | Default | Fixable? |
| ---------------------------------- | ---------- | ------- | -------- |
| [block-scoped-var](/docs/guide/usage/linter/rules/eslint/block-scoped-var.html) | eslint | | |
| [no-extend-native](/docs/guide/usage/linter/rules/eslint/no-extend-native.html) | eslint | | |
| [no-new](/docs/guide/usage/linter/rules/eslint/no-new.html) | eslint | | |
| [no-unexpected-multiline](/docs/guide/usage/linter/rules/eslint/no-unexpected-multiline.html) | eslint | | ⚠️🛠️️ |
Expand Down Expand Up @@ -312,9 +314,9 @@ code that is most likely wrong or useless.
| [consistent-function-scoping](/docs/guide/usage/linter/rules/unicorn/consistent-function-scoping.html) | unicorn | | 🚧 |
| [no-accessor-recursion](/docs/guide/usage/linter/rules/unicorn/no-accessor-recursion.html) | unicorn | | |
| [prefer-add-event-listener](/docs/guide/usage/linter/rules/unicorn/prefer-add-event-listener.html) | unicorn | | 🚧 |
| [require-post-message-target-origin](/docs/guide/usage/linter/rules/unicorn/require-post-message-target-origin.html) | unicorn | | 🛠️ |
| [require-post-message-target-origin](/docs/guide/usage/linter/rules/unicorn/require-post-message-target-origin.html) | unicorn | | 💡 |

## Pedantic (79):
## Pedantic (80):

Lints which are rather strict or have occasional false positives.
| Rule name | Source | Default | Fixable? |
Expand All @@ -334,13 +336,13 @@ Lints which are rather strict or have occasional false positives.
| [no-inner-declarations](/docs/guide/usage/linter/rules/eslint/no-inner-declarations.html) | eslint | | |
| [no-lonely-if](/docs/guide/usage/linter/rules/eslint/no-lonely-if.html) | eslint | | 🚧 |
| [no-negated-condition](/docs/guide/usage/linter/rules/eslint/no-negated-condition.html) | eslint | | 🚧 |
| [no-new-wrappers](/docs/guide/usage/linter/rules/eslint/no-new-wrappers.html) | eslint | | 🚧 |
| [no-new-wrappers](/docs/guide/usage/linter/rules/eslint/no-new-wrappers.html) | eslint | | 🛠️ |
| [no-object-constructor](/docs/guide/usage/linter/rules/eslint/no-object-constructor.html) | eslint | | 🚧 |
| [no-prototype-builtins](/docs/guide/usage/linter/rules/eslint/no-prototype-builtins.html) | eslint | | |
| [no-redeclare](/docs/guide/usage/linter/rules/eslint/no-redeclare.html) | eslint | | |
| [no-self-compare](/docs/guide/usage/linter/rules/eslint/no-self-compare.html) | eslint | | |
| [no-throw-literal](/docs/guide/usage/linter/rules/eslint/no-throw-literal.html) | eslint | | 💡 |
| [radix](/docs/guide/usage/linter/rules/eslint/radix.html) | eslint | | |
| [radix](/docs/guide/usage/linter/rules/eslint/radix.html) | eslint | | ⚠️🛠️️ |
| [require-await](/docs/guide/usage/linter/rules/eslint/require-await.html) | eslint | | ⚠️🛠️️ |
| [sort-vars](/docs/guide/usage/linter/rules/eslint/sort-vars.html) | eslint | | 🚧 |
| [symbol-description](/docs/guide/usage/linter/rules/eslint/symbol-description.html) | eslint | | |
Expand All @@ -362,6 +364,7 @@ Lints which are rather strict or have occasional false positives.
| [no-unsafe-function-type](/docs/guide/usage/linter/rules/typescript/no-unsafe-function-type.html) | typescript | | |
| [prefer-enum-initializers](/docs/guide/usage/linter/rules/typescript/prefer-enum-initializers.html) | typescript | | 🚧 |
| [prefer-ts-expect-error](/docs/guide/usage/linter/rules/typescript/prefer-ts-expect-error.html) | typescript | | 🛠️ |
| [consistent-assert](/docs/guide/usage/linter/rules/unicorn/consistent-assert.html) | unicorn | | 🛠️ |
| [consistent-empty-array-spread](/docs/guide/usage/linter/rules/unicorn/consistent-empty-array-spread.html) | unicorn | | 💡 |
| [escape-case](/docs/guide/usage/linter/rules/unicorn/escape-case.html) | unicorn | | 🛠️ |
| [explicit-length-check](/docs/guide/usage/linter/rules/unicorn/explicit-length-check.html) | unicorn | | 🛠️ |
Expand Down Expand Up @@ -494,7 +497,7 @@ Code that should be written in a more idiomatic way.
| [prefer-await-to-then](/docs/guide/usage/linter/rules/promise/prefer-await-to-then.html) | promise | | |
| [prefer-catch](/docs/guide/usage/linter/rules/promise/prefer-catch.html) | promise | | 🚧 |
| [jsx-boolean-value](/docs/guide/usage/linter/rules/react/jsx-boolean-value.html) | react | | 🛠️ |
| [jsx-curly-brace-presence](/docs/guide/usage/linter/rules/react/jsx-curly-brace-presence.html) | react | | |
| [jsx-curly-brace-presence](/docs/guide/usage/linter/rules/react/jsx-curly-brace-presence.html) | react | | 🚧 |
| [no-set-state](/docs/guide/usage/linter/rules/react/no-set-state.html) | react | | |
| [prefer-es6-class](/docs/guide/usage/linter/rules/react/prefer-es6-class.html) | react | | |
| [self-closing-comp](/docs/guide/usage/linter/rules/react/self-closing-comp.html) | react | | 🛠️ |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ oxlint --deny array-callback-return

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/array_callback_return/mod.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/array_callback_return/mod.rs)
66 changes: 66 additions & 0 deletions src/docs/guide/usage/linter/rules/eslint/block-scoped-var.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<!-- This file is auto-generated by tasks/website/src/linter/rules/doc_page.rs. Do not edit it manually. -->

# eslint/block-scoped-var <Badge type="info" text="Suspicious" />

<div class="rule-meta">
</div>

### What it does

Generates warnings when variables are used outside of the block in which they were defined.
This emulates C-style block scope.

### Why is this bad?

This rule aims to reduce the usage of variables outside of their binding context
and emulate traditional block scope from other languages.
This is to help newcomers to the language avoid difficult bugs with variable hoisting.

### Examples

Examples of **incorrect** code for this rule:

```js
function doIf() {
if (true) {
var build = true;
}
console.log(build);
}
```

Examples of **correct** code for this rule:

```js
function doIf() {
var build;
if (true) {
build = true;
}
console.log(build);
}
```

## How to use

To **enable** this rule in the CLI or using the config file, you can use:

::: code-group

```bash [CLI]
oxlint --deny block-scoped-var
```

```json [Config (.oxlintrc.json)]
{
"rules": {
"block-scoped-var": "error"
}
}
```

:::

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/block_scoped_var.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/curly.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ oxlint --deny curly

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/curly.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/curly.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ oxlint --deny default-case-last

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/default_case_last.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/default_case_last.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/default-case.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,4 @@ oxlint --deny default-case

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/default_case.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/default_case.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ oxlint --deny default-param-last

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/default_param_last.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/default_param_last.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/eqeqeq.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@ oxlint --deny eqeqeq

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/eqeqeq.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/eqeqeq.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/for-direction.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ oxlint --deny for-direction

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/for_direction.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/for_direction.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/func-names.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ oxlint --deny func-names

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/func_names.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/func_names.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/func-style.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,4 @@ oxlint --deny func-style

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/func_style.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/func_style.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/getter-return.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ oxlint --deny getter-return

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/getter_return.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/getter_return.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@ oxlint --deny grouped-accessor-pairs

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/grouped_accessor_pairs.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/grouped_accessor_pairs.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/guard-for-in.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ oxlint --deny guard-for-in

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/guard_for_in.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/guard_for_in.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@ oxlint --deny init-declarations

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/init_declarations.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/init_declarations.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ oxlint --deny max-classes-per-file

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/max_classes_per_file.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/max_classes_per_file.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/max-depth.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,4 @@ oxlint --deny max-depth

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/max_depth.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/max_depth.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,4 @@ oxlint --deny max-lines-per-function

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/max_lines_per_function.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/max_lines_per_function.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/max-lines.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ oxlint --deny max-lines

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/max_lines.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/max_lines.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,4 @@ oxlint --deny max-nested-callbacks

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/max_nested_callbacks.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/max_nested_callbacks.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/max-params.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ oxlint --deny max-params

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/max_params.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/max_params.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/new-cap.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,4 +342,4 @@ oxlint --deny new-cap

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/new_cap.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/new_cap.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/no-alert.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ oxlint --deny no-alert

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/no_alert.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/no_alert.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ oxlint --deny no-array-constructor

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/no_array_constructor.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/no_array_constructor.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,4 @@ oxlint --deny no-async-promise-executor

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/no_async_promise_executor.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/no_async_promise_executor.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ oxlint --deny no-await-in-loop

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/no_await_in_loop.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/no_await_in_loop.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/no-bitwise.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,4 @@ oxlint --deny no-bitwise

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/no_bitwise.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/no_bitwise.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/no-caller.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ oxlint --deny no-caller

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/no_caller.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/no_caller.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ oxlint --deny no-case-declarations

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/no_case_declarations.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/no_case_declarations.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ oxlint --deny no-class-assign

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/no_class_assign.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/no_class_assign.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ oxlint --deny no-compare-neg-zero

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/no_compare_neg_zero.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/no_compare_neg_zero.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/no-cond-assign.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ oxlint --deny no-cond-assign

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/b31ab8773865e3f2f05afd8aca9ee541f31a5b90/crates/oxc_linter/src/rules/eslint/no_cond_assign.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/4b4b09e0e44b1e904870920b3dbd2c75398ed9fd/crates/oxc_linter/src/rules/eslint/no_cond_assign.rs)
Loading
Loading