Skip to content

Commit 3116049

Browse files
oxc-botBoshen
andauthored
Release 0.14.0 (oxc-project#249)
--------- Co-authored-by: oxc-bot <[email protected]> Co-authored-by: Boshen <[email protected]>
1 parent 4fe4254 commit 3116049

File tree

467 files changed

+754
-473
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

467 files changed

+754
-473
lines changed

Diff for: .typos.toml

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
[default.extend-words]
66
trivias = "trivias"
77
trivia = "trivia"
8+
inferrable = "inferrable"
89

910
[files]
1011
extend-exclude = ["src/docs/guide/usage/linter/rules", "pnpm-lock.yaml"]

Diff for: src/docs/guide/usage/linter/generated-config.md

+11-5
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,14 @@ Globals can be disabled by setting their value to `"off"`. For example, in an en
108108

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

111+
## ignorePatterns
112+
113+
type: `string[]`
114+
115+
default: `[]`
116+
117+
Globs to ignore during linting. These are resolved from the configuration file path.
118+
111119
## overrides
112120

113121
type: `array`
@@ -144,8 +152,6 @@ type: `object`
144152

145153
Configure the behavior of linter plugins.
146154

147-
## Example
148-
149155
Here's an example if you're using Next.js in a monorepo:
150156

151157
```json
@@ -254,7 +260,7 @@ default: `{}`
254260

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

257-
## Example
263+
Example:
258264

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

@@ -297,7 +303,7 @@ default: `[]`
297303

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

300-
## Example
306+
Example:
301307

302308
`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"] } ] } } } `
303309

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

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

314-
## Example
320+
Example:
315321

316322
``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"] } ] } } } ``
317323

Diff for: src/docs/guide/usage/linter/generated-rules.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

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

5-
- Total number of rules: 461
5+
- Total number of rules: 464
66
- Rules turned on by default: 97
77

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

200-
## Restriction (62):
200+
## Restriction (63):
201201

202202
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.
203203
| Rule name | Source | Default | Fixable? |
@@ -251,6 +251,7 @@ Lints which prevent the use of language and library features. Must not be enable
251251
| [no-non-null-asserted-nullish-coalescing](/docs/guide/usage/linter/rules/typescript/no-non-null-asserted-nullish-coalescing.html) | typescript | | |
252252
| [no-non-null-assertion](/docs/guide/usage/linter/rules/typescript/no-non-null-assertion.html) | typescript | | |
253253
| [no-require-imports](/docs/guide/usage/linter/rules/typescript/no-require-imports.html) | typescript | | 🚧 |
254+
| [no-unused-expressions](/docs/guide/usage/linter/rules/typescript/no-unused-expressions.html) | typescript | | |
254255
| [no-var-requires](/docs/guide/usage/linter/rules/typescript/no-var-requires.html) | typescript | | |
255256
| [prefer-literal-enum-member](/docs/guide/usage/linter/rules/typescript/prefer-literal-enum-member.html) | typescript | | |
256257
| [no-abusive-eslint-disable](/docs/guide/usage/linter/rules/unicorn/no-abusive-eslint-disable.html) | unicorn | | |
@@ -375,7 +376,7 @@ Lints which are rather strict or have occasional false positives.
375376
| [prefer-type-error](/docs/guide/usage/linter/rules/unicorn/prefer-type-error.html) | unicorn | | 🛠️ |
376377
| [require-number-to-fixed-digits-argument](/docs/guide/usage/linter/rules/unicorn/require-number-to-fixed-digits-argument.html) | unicorn | | 🛠️ |
377378

378-
## Style (110):
379+
## Style (112):
379380

380381
Code that should be written in a more idiomatic way.
381382
| Rule name | Source | Default | Fixable? |
@@ -398,10 +399,11 @@ Code that should be written in a more idiomatic way.
398399
| [prefer-exponentiation-operator](/docs/guide/usage/linter/rules/eslint/prefer-exponentiation-operator.html) | eslint | | |
399400
| [prefer-numeric-literals](/docs/guide/usage/linter/rules/eslint/prefer-numeric-literals.html) | eslint | | 🛠️ |
400401
| [prefer-object-has-own](/docs/guide/usage/linter/rules/eslint/prefer-object-has-own.html) | eslint | | 🛠️ |
402+
| [prefer-spread](/docs/guide/usage/linter/rules/eslint/prefer-spread.html) | eslint | | 🛠️ |
401403
| [sort-imports](/docs/guide/usage/linter/rules/eslint/sort-imports.html) | eslint | | 🛠️ |
402404
| [sort-keys](/docs/guide/usage/linter/rules/eslint/sort-keys.html) | eslint | | 🚧 |
403405
| [first](/docs/guide/usage/linter/rules/import/first.html) | import | | 🚧 |
404-
| [import-no-namespace](/docs/guide/usage/linter/rules/import/import-no-namespace.html) | import | | 🚧 |
406+
| [no-namespace](/docs/guide/usage/linter/rules/import/no-namespace.html) | import | | 🚧 |
405407
| [consistent-test-it](/docs/guide/usage/linter/rules/jest/consistent-test-it.html) | jest | | 🛠️ |
406408
| [max-expects](/docs/guide/usage/linter/rules/jest/max-expects.html) | jest | | |
407409
| [max-nested-describe](/docs/guide/usage/linter/rules/jest/max-nested-describe.html) | jest | | |
@@ -451,9 +453,11 @@ Code that should be written in a more idiomatic way.
451453
| [adjacent-overload-signatures](/docs/guide/usage/linter/rules/typescript/adjacent-overload-signatures.html) | typescript | | |
452454
| [array-type](/docs/guide/usage/linter/rules/typescript/array-type.html) | typescript | | 🛠️ |
453455
| [ban-tslint-comment](/docs/guide/usage/linter/rules/typescript/ban-tslint-comment.html) | typescript | | 🛠️ |
456+
| [consistent-generic-constructors](/docs/guide/usage/linter/rules/typescript/consistent-generic-constructors.html) | typescript | | 🚧 |
454457
| [consistent-indexed-object-style](/docs/guide/usage/linter/rules/typescript/consistent-indexed-object-style.html) | typescript | | 🛠️ |
455458
| [consistent-type-definitions](/docs/guide/usage/linter/rules/typescript/consistent-type-definitions.html) | typescript | | 🛠️ |
456459
| [no-empty-interface](/docs/guide/usage/linter/rules/typescript/no-empty-interface.html) | typescript | | |
460+
| [no-inferrable-types](/docs/guide/usage/linter/rules/typescript/no-inferrable-types.html) | typescript | | 🚧 |
457461
| [prefer-for-of](/docs/guide/usage/linter/rules/typescript/prefer-for-of.html) | typescript | | 🚧 |
458462
| [prefer-function-type](/docs/guide/usage/linter/rules/typescript/prefer-function-type.html) | typescript | | 🛠️ |
459463
| [prefer-namespace-keyword](/docs/guide/usage/linter/rules/typescript/prefer-namespace-keyword.html) | typescript | | 🛠️ |
@@ -477,7 +481,6 @@ Code that should be written in a more idiomatic way.
477481
| [prefer-negative-index](/docs/guide/usage/linter/rules/unicorn/prefer-negative-index.html) | unicorn | | 🛠️ |
478482
| [prefer-optional-catch-binding](/docs/guide/usage/linter/rules/unicorn/prefer-optional-catch-binding.html) | unicorn | | 🛠️ |
479483
| [prefer-reflect-apply](/docs/guide/usage/linter/rules/unicorn/prefer-reflect-apply.html) | unicorn | | |
480-
| [prefer-spread](/docs/guide/usage/linter/rules/unicorn/prefer-spread.html) | unicorn | | 🛠️ |
481484
| [prefer-string-raw](/docs/guide/usage/linter/rules/unicorn/prefer-string-raw.html) | unicorn | | 🛠️ |
482485
| [prefer-string-trim-start-end](/docs/guide/usage/linter/rules/unicorn/prefer-string-trim-start-end.html) | unicorn | | 🛠️ |
483486
| [prefer-structured-clone](/docs/guide/usage/linter/rules/unicorn/prefer-structured-clone.html) | unicorn | | 🚧 |

Diff for: src/docs/guide/usage/linter/rules/eslint/array-callback-return.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ foo.map((a) => {
2727

2828
## References
2929

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

Diff for: src/docs/guide/usage/linter/rules/eslint/constructor-super.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ class A extends B {
2121

2222
## References
2323

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

Diff for: src/docs/guide/usage/linter/rules/eslint/default-case-last.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ switch (foo) {
4343

4444
## References
4545

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

Diff for: src/docs/guide/usage/linter/rules/eslint/default-case.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ switch (foo) {
2525

2626
## References
2727

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

Diff for: src/docs/guide/usage/linter/rules/eslint/default-param-last.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ createUser(undefined, "tabby");
2727

2828
## References
2929

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

Diff for: src/docs/guide/usage/linter/rules/eslint/eqeqeq.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ a == b;
2626

2727
## References
2828

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

Diff for: src/docs/guide/usage/linter/rules/eslint/for-direction.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ for (let i = MIN; i <= MAX; i -= 0) {
6666

6767
## References
6868

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

Diff for: src/docs/guide/usage/linter/rules/eslint/func-names.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ Foo.prototype.bar = function () {};
8080

8181
## References
8282

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

Diff for: src/docs/guide/usage/linter/rules/eslint/getter-return.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ class Person {
4646

4747
## References
4848

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

Diff for: src/docs/guide/usage/linter/rules/eslint/guard-for-in.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ for (key in foo) {
2121

2222
## References
2323

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

Diff for: src/docs/guide/usage/linter/rules/eslint/max-classes-per-file.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ class Bar {}
2323

2424
## References
2525

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

Diff for: src/docs/guide/usage/linter/rules/eslint/max-lines.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ Recommendations usually range from 100 to 500 lines.
1919

2020
## References
2121

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

Diff for: src/docs/guide/usage/linter/rules/eslint/max-params.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ function foo(bar, baz, qux, qxx) {
2323

2424
## References
2525

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

Diff for: src/docs/guide/usage/linter/rules/eslint/no-alert.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ function foo() {
4343

4444
## References
4545

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

Diff for: src/docs/guide/usage/linter/rules/eslint/no-array-constructor.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ let arr3 = new Array(9);
3939

4040
## References
4141

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

Diff for: src/docs/guide/usage/linter/rules/eslint/no-async-promise-executor.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ The executor function can also be an `async function`. However, this is usually
3939

4040
## References
4141

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

Diff for: src/docs/guide/usage/linter/rules/eslint/no-await-in-loop.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ async function good() {
3636

3737
## References
3838

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

Diff for: src/docs/guide/usage/linter/rules/eslint/no-bitwise.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ var x = y | z;
2222

2323
## References
2424

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

Diff for: src/docs/guide/usage/linter/rules/eslint/no-caller.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ function foo(n) {
6565

6666
## References
6767

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

Diff for: src/docs/guide/usage/linter/rules/eslint/no-case-declarations.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ switch (foo) {
3535

3636
## References
3737

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

Diff for: src/docs/guide/usage/linter/rules/eslint/no-class-assign.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ let a = new A(); // Error
2727

2828
## References
2929

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

Diff for: src/docs/guide/usage/linter/rules/eslint/no-compare-neg-zero.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ if (x === -0) {
3030

3131
## References
3232

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

Diff for: src/docs/guide/usage/linter/rules/eslint/no-cond-assign.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ if ((user.jobTitle = "manager")) {
3232

3333
## References
3434

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

Diff for: src/docs/guide/usage/linter/rules/eslint/no-console.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ console.log("here");
2727

2828
## References
2929

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

Diff for: src/docs/guide/usage/linter/rules/eslint/no-const-assign.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ b += 1;
4141

4242
## References
4343

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

Diff for: src/docs/guide/usage/linter/rules/eslint/no-constant-binary-expression.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ const isEmpty = x === [];
4040
4141
## References
4242
43-
- [Rule Source](https://github.com/oxc-project/oxc/blob/45ef3eb2becc663e756a3da557df5a03fb40fd84/crates/oxc_linter/src/rules/eslint/no_constant_binary_expression.rs)
43+
- [Rule Source](https://github.com/oxc-project/oxc/blob/a6b0100501fda75ec313146a992a9f5fce995518/crates/oxc_linter/src/rules/eslint/no_constant_binary_expression.rs)

Diff for: src/docs/guide/usage/linter/rules/eslint/no-constant-condition.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ while (typeof x === "undefined") {
5757

5858
## References
5959

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

Diff for: src/docs/guide/usage/linter/rules/eslint/no-constructor-return.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ class C {
3434

3535
## References
3636

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

Diff for: src/docs/guide/usage/linter/rules/eslint/no-continue.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ for (i = 0; i < 10; i++) {
3030

3131
## References
3232

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

Diff for: src/docs/guide/usage/linter/rules/eslint/no-control-regex.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ var pattern8 = new RegExp("\\n");
4949

5050
## References
5151

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

Diff for: src/docs/guide/usage/linter/rules/eslint/no-debugger.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ async function main() {
3232

3333
## References
3434

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

Diff for: src/docs/guide/usage/linter/rules/eslint/no-delete-var.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ delete x;
2929

3030
## References
3131

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

Diff for: src/docs/guide/usage/linter/rules/eslint/no-div-regex.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ function bar() {
2727

2828
## References
2929

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

Diff for: src/docs/guide/usage/linter/rules/eslint/no-dupe-class-members.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ a.foo(); // Uncaught TypeError: a.foo is not a function
3232

3333
## References
3434

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

0 commit comments

Comments
 (0)