Skip to content

Commit

Permalink
Release 0.13.0 (#245)
Browse files Browse the repository at this point in the history
Co-authored-by: oxc-bot <[email protected]>
  • Loading branch information
oxc-bot and oxc-bot authored Nov 22, 2024
1 parent 3a4a2b8 commit 3d0976e
Show file tree
Hide file tree
Showing 456 changed files with 661 additions and 461 deletions.
66 changes: 65 additions & 1 deletion src/docs/guide/usage/linter/generated-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,35 @@ See [Oxlint Rules](https://oxc.rs/docs/guide/usage/linter/rules.html)

type: `object`

Shared settings for plugins
Configure the behavior of linter plugins.

## Example

Here's an example if you're using Next.js in a monorepo:

```json
{
"settings": {
"next": {
"rootDir": "apps/dashboard/"
},
"react": {
"linkComponents": [
{
"name": "Link",
"linkAttribute": "to"
}
]
},
"jsx-a11y": {
"components": {
"Link": "a",
"Button": "button"
}
}
}
}
```

### settings.jsdoc

Expand Down Expand Up @@ -214,35 +242,65 @@ default: `{}`

type: `object`

Configure JSX A11y plugin rules.

See [eslint-plugin-jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y#configurations)'s configuration for a full reference.

#### settings.jsx-a11y.components

type: `Record<string, string>`

default: `{}`

To have your custom components be checked as DOM elements, you can provide a mapping of your component names to the DOM element name.

## Example

`json { "settings": { "jsx-a11y": { "components": { "Link": "a", "IconButton": "button" } } } } `

#### settings.jsx-a11y.polymorphicPropName

type: `[
string,
null
]`

An optional setting that define the prop your code uses to create polymorphic components. This setting will be used to determine the element type in rules that require semantic context.

For example, if you set the `polymorphicPropName` to `as`, then this element:

`jsx <Box as="h3">Hello</Box> `

Will be treated as an `h3`. If not set, this component will be treated as a `Box`.

### settings.next

type: `object`

Configure Next.js plugin rules.

#### settings.next.rootDir

### settings.react

type: `object`

Configure React plugin rules.

Derived from [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react#configuration-legacy-eslintrc-)

#### settings.react.formComponents

type: `array`

default: `[]`

Components used as alternatives to `<form>` for forms, such as `<Formik>`.

## Example

`jsonc { "settings": { "react": { "formComponents": [ "CustomForm", // OtherForm is considered a form component and has an endpoint attribute { "name": "OtherForm", "formAttribute": "endpoint" }, // allows specifying multiple properties if necessary { "name": "Form", "formAttribute": ["registerEndpoint", "loginEndpoint"] } ] } } } `

##### settings.react.formComponents[n]

#### settings.react.linkComponents
Expand All @@ -251,4 +309,10 @@ type: `array`

default: `[]`

Components used as alternatives to `<a>` for linking, such as `<Link>`.

## Example

``jsonc { "settings": { "react": { "linkComponents": [ "HyperLink", // Use `linkAttribute` for components that use a different prop name // than `href`. { "name": "MyLink", "linkAttribute": "to" }, // allows specifying multiple properties if necessary { "name": "Link", "linkAttribute": ["to", "href"] } ] } } } ``

##### settings.react.linkComponents[n]
15 changes: 8 additions & 7 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: 453
- Total number of rules: 454
- Rules turned on by default: 97

## Correctness (172):
Expand Down Expand Up @@ -183,27 +183,28 @@ Code that is outright wrong or useless.
| [no-conditional-tests](/docs/guide/usage/linter/rules/vitest/no-conditional-tests.html) | vitest | | |
| [require-local-test-context-for-concurrent-snapshots](/docs/guide/usage/linter/rules/vitest/require-local-test-context-for-concurrent-snapshots.html) | vitest | | 🚧 |

## Perf (6):
## Perf (7):

Code that can be written to run faster.
| Rule name | Source | Default | Fixable? |
| --------------------------- | ---------- | ------- | -------- |
| [no-await-in-loop](/docs/guide/usage/linter/rules/eslint/no-await-in-loop.html) | eslint | | |
| [no-accumulating-spread](/docs/guide/usage/linter/rules/oxc/no-accumulating-spread.html) | oxc | | |
| [no-array-index-key](/docs/guide/usage/linter/rules/react/no-array-index-key.html) | react | | |
| [jsx-no-jsx-as-prop](/docs/guide/usage/linter/rules/react_perf/jsx-no-jsx-as-prop.html) | react_perf | | |
| [jsx-no-new-array-as-prop](/docs/guide/usage/linter/rules/react_perf/jsx-no-new-array-as-prop.html) | react_perf | | |
| [jsx-no-new-function-as-prop](/docs/guide/usage/linter/rules/react_perf/jsx-no-new-function-as-prop.html) | react_perf | | |
| [jsx-no-new-object-as-prop](/docs/guide/usage/linter/rules/react_perf/jsx-no-new-object-as-prop.html) | react_perf | | |

## Restriction (60):
## Restriction (61):

Lints which prevent the use of language and library features. Must not be enabled as a whole, should be considered on a case-by-case basis before enabling.
| Rule name | Source | Default | Fixable? |
| --------------------------------------- | ---------- | ------- | -------- |
| [default-case](/docs/guide/usage/linter/rules/eslint/default-case.html) | eslint | | |
| [no-alert](/docs/guide/usage/linter/rules/eslint/no-alert.html) | eslint | | |
| [no-bitwise](/docs/guide/usage/linter/rules/eslint/no-bitwise.html) | eslint | | |
| [no-console](/docs/guide/usage/linter/rules/eslint/no-console.html) | eslint | | |
| [no-console](/docs/guide/usage/linter/rules/eslint/no-console.html) | eslint | | 💡 |
| [no-div-regex](/docs/guide/usage/linter/rules/eslint/no-div-regex.html) | eslint | | 🛠️ |
| [no-empty](/docs/guide/usage/linter/rules/eslint/no-empty.html) | eslint | | 💡 |
| [no-empty-function](/docs/guide/usage/linter/rules/eslint/no-empty-function.html) | eslint | | |
Expand Down Expand Up @@ -247,6 +248,7 @@ Lints which prevent the use of language and library features. Must not be enable
| [no-namespace](/docs/guide/usage/linter/rules/typescript/no-namespace.html) | typescript | | |
| [no-non-null-asserted-nullish-coalescing](/docs/guide/usage/linter/rules/typescript/no-non-null-asserted-nullish-coalescing.html) | typescript | | |
| [no-non-null-assertion](/docs/guide/usage/linter/rules/typescript/no-non-null-assertion.html) | typescript | | |
| [no-require-imports](/docs/guide/usage/linter/rules/typescript/no-require-imports.html) | typescript | | 🚧 |
| [no-var-requires](/docs/guide/usage/linter/rules/typescript/no-var-requires.html) | typescript | | |
| [prefer-literal-enum-member](/docs/guide/usage/linter/rules/typescript/prefer-literal-enum-member.html) | typescript | | |
| [no-abusive-eslint-disable](/docs/guide/usage/linter/rules/unicorn/no-abusive-eslint-disable.html) | unicorn | | |
Expand Down Expand Up @@ -482,11 +484,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 (11):

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 | | |
Expand All @@ -497,5 +499,4 @@ 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 | | |
| [rules-of-hooks](/docs/guide/usage/linter/rules/react/rules-of-hooks.html) | react | | |
| [no-side-effects-in-initialization](/docs/guide/usage/linter/rules/tree_shaking/no-side-effects-in-initialization.html) | tree_shaking | | |
| [consistent-type-imports](/docs/guide/usage/linter/rules/typescript/consistent-type-imports.html) | typescript | | 🛠️ |
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ foo.map((a) => {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/array_callback_return/mod.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/crates/oxc_linter/src/rules/eslint/array_callback_return/mod.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ class A extends B {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/constructor_super.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/crates/oxc_linter/src/rules/eslint/constructor_super.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ switch (foo) {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/default_case_last.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/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 @@ -25,4 +25,4 @@ switch (foo) {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/default_case.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/crates/oxc_linter/src/rules/eslint/default_case.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ createUser(undefined, "tabby");

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/default_param_last.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/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 @@ -26,4 +26,4 @@ a == b;

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/eqeqeq.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/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 @@ -66,4 +66,4 @@ for (let i = MIN; i <= MAX; i -= 0) {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/for_direction.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/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 @@ -80,4 +80,4 @@ Foo.prototype.bar = function () {};

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/func_names.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/crates/oxc_linter/src/rules/eslint/func_names.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 @@ -46,4 +46,4 @@ class Person {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/getter_return.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/crates/oxc_linter/src/rules/eslint/getter_return.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 @@ -21,4 +21,4 @@ for (key in foo) {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/guard_for_in.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/crates/oxc_linter/src/rules/eslint/guard_for_in.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ class Bar {}

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/max_classes_per_file.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/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-lines.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ Recommendations usually range from 100 to 500 lines.

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/max_lines.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/crates/oxc_linter/src/rules/eslint/max_lines.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 @@ -23,4 +23,4 @@ function foo(bar, baz, qux, qxx) {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/max_params.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/crates/oxc_linter/src/rules/eslint/max_params.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 @@ -43,4 +43,4 @@ function foo() {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/no_alert.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/crates/oxc_linter/src/rules/eslint/no_alert.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ let arr3 = new Array(9);

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/no_array_constructor.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/crates/oxc_linter/src/rules/eslint/no_array_constructor.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ The executor function can also be an `async function`. However, this is usually

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/no_async_promise_executor.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/crates/oxc_linter/src/rules/eslint/no_async_promise_executor.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ async function good() {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/no_await_in_loop.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/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 @@ -22,4 +22,4 @@ var x = y | z;

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/no_bitwise.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/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 @@ -65,4 +65,4 @@ function foo(n) {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/no_caller.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/crates/oxc_linter/src/rules/eslint/no_caller.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ switch (foo) {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/no_case_declarations.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/crates/oxc_linter/src/rules/eslint/no_case_declarations.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ let a = new A(); // Error

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/no_class_assign.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/crates/oxc_linter/src/rules/eslint/no_class_assign.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ if (x === -0) {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/no_compare_neg_zero.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/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 @@ -32,4 +32,4 @@ if ((user.jobTitle = "manager")) {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/no_cond_assign.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/crates/oxc_linter/src/rules/eslint/no_cond_assign.rs)
5 changes: 4 additions & 1 deletion src/docs/guide/usage/linter/rules/eslint/no-console.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
# eslint/no-console <Badge type="info" text="Restriction" />

<div class="rule-meta">
<Alert class="fix" type="info">
<span class="emoji">💡</span> A suggestion is available for this rule.
</Alert>
</div>

### What it does
Expand All @@ -24,4 +27,4 @@ console.log("here");

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/no_console.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/crates/oxc_linter/src/rules/eslint/no_console.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ b += 1;

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/no_const_assign.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/crates/oxc_linter/src/rules/eslint/no_const_assign.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ const isEmpty = x === [];
## References
- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/no_constant_binary_expression.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/crates/oxc_linter/src/rules/eslint/no_constant_binary_expression.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ while (typeof x === "undefined") {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/no_constant_condition.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/crates/oxc_linter/src/rules/eslint/no_constant_condition.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ class C {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/no_constructor_return.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/crates/oxc_linter/src/rules/eslint/no_constructor_return.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/no-continue.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ for (i = 0; i < 10; i++) {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/no_continue.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/crates/oxc_linter/src/rules/eslint/no_continue.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ var pattern8 = new RegExp("\\n");

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/no_control_regex.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/crates/oxc_linter/src/rules/eslint/no_control_regex.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/no-debugger.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ async function main() {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/no_debugger.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/crates/oxc_linter/src/rules/eslint/no_debugger.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/no-delete-var.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ delete x;

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/no_delete_var.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/crates/oxc_linter/src/rules/eslint/no_delete_var.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/no-div-regex.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ function bar() {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/5190b7fb280dcd15c6de81717c073b06a161ced6/crates/oxc_linter/src/rules/eslint/no_div_regex.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/e91c2878d8c49213790df4d192bb3136503aa08b/crates/oxc_linter/src/rules/eslint/no_div_regex.rs)
Loading

0 comments on commit 3d0976e

Please sign in to comment.