Commit 4fc4e7c
committed
refactor(linter): make feature gates for
Pure refactor. Make the feature gates for "`oxlint2` feature and not `disable_oxlint2` feature" consistent everywhere. Also make the function signature for the gated/ungated function pairs identical so you can copy and paste them.oxlint2 feature consistent (#12369)1 parent cc3bea4 commit 4fc4e7c
File tree
2 files changed
+8
-7
lines changed- crates/oxc_linter/src
- config
2 files changed
+8
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
430 | | - | |
| 430 | + | |
| 431 | + | |
431 | 432 | | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
437 | 438 | | |
438 | 439 | | |
439 | 440 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
0 commit comments