Skip to content

Commit 2939d63

Browse files
release: v0.7.2 (#139)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Boshen <Boshen@users.noreply.github.com>
1 parent 725e330 commit 2939d63

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-oxlint",
3-
"version": "0.7.1",
3+
"version": "0.7.2",
44
"description": "Turn off all rules already supported by oxlint",
55
"type": "module",
66
"packageManager": "pnpm@9.7.0",

src/rules-by-category.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,13 @@ const pedanticRules = {
4545
'unicorn/prefer-dom-node-remove': 'off',
4646
'unicorn/prefer-event-target': 'off',
4747
'unicorn/prefer-math-trunc': 'off',
48-
'unicorn/prefer-string-replace-all': 'off',
4948
};
5049

5150
const nurseryRules = {
5251
'constructor-super': 'off',
5352
'getter-return': 'off',
5453
'no-undef': 'off',
5554
'no-unreachable': 'off',
56-
'no-unused-vars': 'off',
5755
'import/export': 'off',
5856
'import/no-deprecated': 'off',
5957
'import/no-unused-modules': 'off',
@@ -378,6 +376,7 @@ const fixRules = {
378376
'unicorn/prefer-dom-node-append': 'off',
379377
'unicorn/prefer-node-protocol': 'off',
380378
'unicorn/prefer-prototype-methods': 'off',
379+
'unicorn/prefer-string-replace-all': 'off',
381380
'unicorn/prefer-string-starts-ends-with': 'off',
382381
'unicorn/prefer-string-trim-start-end': 'off',
383382
'unicorn/require-number-to-fixed-digits-argument': 'off',
@@ -427,6 +426,10 @@ const suspiciousRules = {
427426
'unicorn/prefer-add-event-listener': 'off',
428427
};
429428

429+
const dangerousSuggestionRules = {
430+
'no-unused-vars': 'off',
431+
};
432+
430433
export {
431434
pedanticRules,
432435
nurseryRules,
@@ -442,4 +445,5 @@ export {
442445
pendingRules,
443446
fixDangerousRules,
444447
suspiciousRules,
448+
dangerousSuggestionRules,
445449
};

0 commit comments

Comments
 (0)