Skip to content

Commit

Permalink
Release 0.14.0 (#249)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: oxc-bot <[email protected]>
Co-authored-by: Boshen <[email protected]>
  • Loading branch information
3 people authored Dec 1, 2024
1 parent 4fe4254 commit 3116049
Show file tree
Hide file tree
Showing 467 changed files with 754 additions and 473 deletions.
1 change: 1 addition & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
[default.extend-words]
trivias = "trivias"
trivia = "trivia"
inferrable = "inferrable"

[files]
extend-exclude = ["src/docs/guide/usage/linter/rules", "pnpm-lock.yaml"]
16 changes: 11 additions & 5 deletions src/docs/guide/usage/linter/generated-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,14 @@ Globals can be disabled by setting their value to `"off"`. For example, in an en

You may also use `"readable"` or `false` to represent `"readonly"`, and `"writeable"` or `true` to represent `"writable"`.

## ignorePatterns

type: `string[]`

default: `[]`

Globs to ignore during linting. These are resolved from the configuration file path.

## overrides

type: `array`
Expand Down Expand Up @@ -144,8 +152,6 @@ type: `object`

Configure the behavior of linter plugins.

## Example

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

```json
Expand Down Expand Up @@ -254,7 +260,7 @@ 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
Example:

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

Expand Down Expand Up @@ -297,7 +303,7 @@ default: `[]`

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

## Example
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"] } ] } } } `

Expand All @@ -311,7 +317,7 @@ default: `[]`

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

## Example
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"] } ] } } } ``

Expand Down
13 changes: 8 additions & 5 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: 461
- Total number of rules: 464
- Rules turned on by default: 97

## Correctness (172):
Expand Down Expand Up @@ -197,7 +197,7 @@ Code that can be written to run faster.
| [jsx-no-new-object-as-prop](/docs/guide/usage/linter/rules/react_perf/jsx-no-new-object-as-prop.html) | react_perf | | |
| [prefer-set-has](/docs/guide/usage/linter/rules/unicorn/prefer-set-has.html) | unicorn | | ⚠️🛠️️ |

## Restriction (62):
## Restriction (63):

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? |
Expand Down Expand Up @@ -251,6 +251,7 @@ Lints which prevent the use of language and library features. Must not be enable
| [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-unused-expressions](/docs/guide/usage/linter/rules/typescript/no-unused-expressions.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 @@ -375,7 +376,7 @@ Lints which are rather strict or have occasional false positives.
| [prefer-type-error](/docs/guide/usage/linter/rules/unicorn/prefer-type-error.html) | unicorn | | 🛠️ |
| [require-number-to-fixed-digits-argument](/docs/guide/usage/linter/rules/unicorn/require-number-to-fixed-digits-argument.html) | unicorn | | 🛠️ |

## Style (110):
## Style (112):

Code that should be written in a more idiomatic way.
| Rule name | Source | Default | Fixable? |
Expand All @@ -398,10 +399,11 @@ Code that should be written in a more idiomatic way.
| [prefer-exponentiation-operator](/docs/guide/usage/linter/rules/eslint/prefer-exponentiation-operator.html) | eslint | | |
| [prefer-numeric-literals](/docs/guide/usage/linter/rules/eslint/prefer-numeric-literals.html) | eslint | | 🛠️ |
| [prefer-object-has-own](/docs/guide/usage/linter/rules/eslint/prefer-object-has-own.html) | eslint | | 🛠️ |
| [prefer-spread](/docs/guide/usage/linter/rules/eslint/prefer-spread.html) | eslint | | 🛠️ |
| [sort-imports](/docs/guide/usage/linter/rules/eslint/sort-imports.html) | eslint | | 🛠️ |
| [sort-keys](/docs/guide/usage/linter/rules/eslint/sort-keys.html) | eslint | | 🚧 |
| [first](/docs/guide/usage/linter/rules/import/first.html) | import | | 🚧 |
| [import-no-namespace](/docs/guide/usage/linter/rules/import/import-no-namespace.html) | import | | 🚧 |
| [no-namespace](/docs/guide/usage/linter/rules/import/no-namespace.html) | import | | 🚧 |
| [consistent-test-it](/docs/guide/usage/linter/rules/jest/consistent-test-it.html) | jest | | 🛠️ |
| [max-expects](/docs/guide/usage/linter/rules/jest/max-expects.html) | jest | | |
| [max-nested-describe](/docs/guide/usage/linter/rules/jest/max-nested-describe.html) | jest | | |
Expand Down Expand Up @@ -451,9 +453,11 @@ Code that should be written in a more idiomatic way.
| [adjacent-overload-signatures](/docs/guide/usage/linter/rules/typescript/adjacent-overload-signatures.html) | typescript | | |
| [array-type](/docs/guide/usage/linter/rules/typescript/array-type.html) | typescript | | 🛠️ |
| [ban-tslint-comment](/docs/guide/usage/linter/rules/typescript/ban-tslint-comment.html) | typescript | | 🛠️ |
| [consistent-generic-constructors](/docs/guide/usage/linter/rules/typescript/consistent-generic-constructors.html) | typescript | | 🚧 |
| [consistent-indexed-object-style](/docs/guide/usage/linter/rules/typescript/consistent-indexed-object-style.html) | typescript | | 🛠️ |
| [consistent-type-definitions](/docs/guide/usage/linter/rules/typescript/consistent-type-definitions.html) | typescript | | 🛠️ |
| [no-empty-interface](/docs/guide/usage/linter/rules/typescript/no-empty-interface.html) | typescript | | |
| [no-inferrable-types](/docs/guide/usage/linter/rules/typescript/no-inferrable-types.html) | typescript | | 🚧 |
| [prefer-for-of](/docs/guide/usage/linter/rules/typescript/prefer-for-of.html) | typescript | | 🚧 |
| [prefer-function-type](/docs/guide/usage/linter/rules/typescript/prefer-function-type.html) | typescript | | 🛠️ |
| [prefer-namespace-keyword](/docs/guide/usage/linter/rules/typescript/prefer-namespace-keyword.html) | typescript | | 🛠️ |
Expand All @@ -477,7 +481,6 @@ Code that should be written in a more idiomatic way.
| [prefer-negative-index](/docs/guide/usage/linter/rules/unicorn/prefer-negative-index.html) | unicorn | | 🛠️ |
| [prefer-optional-catch-binding](/docs/guide/usage/linter/rules/unicorn/prefer-optional-catch-binding.html) | unicorn | | 🛠️ |
| [prefer-reflect-apply](/docs/guide/usage/linter/rules/unicorn/prefer-reflect-apply.html) | unicorn | | |
| [prefer-spread](/docs/guide/usage/linter/rules/unicorn/prefer-spread.html) | unicorn | | 🛠️ |
| [prefer-string-raw](/docs/guide/usage/linter/rules/unicorn/prefer-string-raw.html) | unicorn | | 🛠️ |
| [prefer-string-trim-start-end](/docs/guide/usage/linter/rules/unicorn/prefer-string-trim-start-end.html) | unicorn | | 🛠️ |
| [prefer-structured-clone](/docs/guide/usage/linter/rules/unicorn/prefer-structured-clone.html) | unicorn | | 🚧 |
Expand Down
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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/array_callback_return/mod.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/constructor_super.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/default_case_last.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/default_case.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/default_param_last.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/eqeqeq.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/for_direction.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/func_names.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/getter_return.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/guard_for_in.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/max_classes_per_file.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/max_lines.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/max_params.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/no_alert.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/no_array_constructor.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/no_async_promise_executor.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/no_await_in_loop.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/no_bitwise.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/no_caller.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/no_case_declarations.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/no_class_assign.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/no_compare_neg_zero.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/no_cond_assign.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/crates/oxc_linter/src/rules/eslint/no_cond_assign.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/no-console.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ console.log("here");

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/no_console.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/no_const_assign.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/no_constant_binary_expression.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/no_constant_condition.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/no_constructor_return.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/no_continue.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/no_control_regex.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/no_debugger.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/no_delete_var.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/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/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/no_div_regex.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/crates/oxc_linter/src/rules/eslint/no_div_regex.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ a.foo(); // Uncaught TypeError: a.foo is not a function

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/no_dupe_class_members.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/crates/oxc_linter/src/rules/eslint/no_dupe_class_members.rs)
Loading

0 comments on commit 3116049

Please sign in to comment.