Skip to content

Commit

Permalink
Release 0.15.6 (#272)
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 Jan 13, 2025
1 parent bdcae88 commit dd94675
Show file tree
Hide file tree
Showing 477 changed files with 818 additions and 584 deletions.
158 changes: 80 additions & 78 deletions src/docs/guide/usage/linter/generated-rules.md

Large diffs are not rendered by default.

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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/array_callback_return/mod.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/constructor_super.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/default_case_last.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/default_case.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/default_param_last.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/eqeqeq.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/for_direction.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/func_names.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/getter_return.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/guard_for_in.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/max_classes_per_file.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/max_lines.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/max_params.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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 @@ -322,4 +322,4 @@ var friend = new person.acquaintance();

## References

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

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_alert.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_array_constructor.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_async_promise_executor.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_await_in_loop.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_bitwise.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_caller.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_case_declarations.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_class_assign.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_compare_neg_zero.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_cond_assign.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_console.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_const_assign.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_constant_binary_expression.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_constant_condition.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_constructor_return.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_continue.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_control_regex.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_debugger.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_delete_var.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_div_regex.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/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/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_dupe_class_members.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/crates/oxc_linter/src/rules/eslint/no_dupe_class_members.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ if (a) {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_dupe_else_if.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/crates/oxc_linter/src/rules/eslint/no_dupe_else_if.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/no-dupe-keys.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ var foo = {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_dupe_keys.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/crates/oxc_linter/src/rules/eslint/no_dupe_keys.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ switch (a) {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_duplicate_case.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/crates/oxc_linter/src/rules/eslint/no_duplicate_case.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ import something from "another-module";

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_duplicate_imports.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/crates/oxc_linter/src/rules/eslint/no_duplicate_imports.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/no-else-return.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,4 +167,4 @@ function foo() {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_else_return.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/crates/oxc_linter/src/rules/eslint/no_else_return.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ var foo = /^abc[]/;

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_empty_character_class.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/crates/oxc_linter/src/rules/eslint/no_empty_character_class.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ const add = (a, b) => a + b;

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_empty_function.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/crates/oxc_linter/src/rules/eslint/no_empty_function.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ function foo({a = []}) {}

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_empty_pattern.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/crates/oxc_linter/src/rules/eslint/no_empty_pattern.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ class Bar {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_empty_static_block.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/crates/oxc_linter/src/rules/eslint/no_empty_static_block.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/no-empty.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ if (condition) {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_empty.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/crates/oxc_linter/src/rules/eslint/no_empty.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/no-eq-null.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ if (bang === undefined) {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_eq_null.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/crates/oxc_linter/src/rules/eslint/no_eq_null.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/no-eval.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ eval(someString);

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_eval.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/crates/oxc_linter/src/rules/eslint/no_eval.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/no-ex-assign.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ try {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_ex_assign.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/crates/oxc_linter/src/rules/eslint/no_ex_assign.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ Object.defineProperty(x.prototype, "p", { value: 0 });

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_extend_native.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/crates/oxc_linter/src/rules/eslint/no_extend_native.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ if (!!foo || bar) {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_extra_boolean_cast.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/crates/oxc_linter/src/rules/eslint/no_extra_boolean_cast.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/no-extra-label.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ C: switch (a) {

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_extra_label.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/crates/oxc_linter/src/rules/eslint/no_extra_label.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/no-fallthrough.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,4 @@ warning because there is nothing to fall through into.

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_fallthrough.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/crates/oxc_linter/src/rules/eslint/no_fallthrough.rs)
2 changes: 1 addition & 1 deletion src/docs/guide/usage/linter/rules/eslint/no-func-assign.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ foo = bar;

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_func_assign.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/crates/oxc_linter/src/rules/eslint/no_func_assign.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ Object = null;

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_global_assign.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/crates/oxc_linter/src/rules/eslint/no_global_assign.rs)
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ Object.assign(mod_ns, { foo: "foo" }); // ERROR: The members of 'mod_ns' are rea

## References

- [Rule Source](https://github.com/oxc-project/oxc/blob/2b14a6fb5403dfe5eff8dfade3baf7725b837052/crates/oxc_linter/src/rules/eslint/no_import_assign.rs)
- [Rule Source](https://github.com/oxc-project/oxc/blob/457aa31d92800aaf37a12c695928e8d941308d33/crates/oxc_linter/src/rules/eslint/no_import_assign.rs)
Loading

0 comments on commit dd94675

Please sign in to comment.