Skip to content

Commit

Permalink
release: v0.7.2 (#139)
Browse files Browse the repository at this point in the history
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

Co-authored-by: Boshen <[email protected]>
  • Loading branch information
github-actions[bot] and Boshen authored Aug 15, 2024
1 parent 725e330 commit 2939d63
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-oxlint",
"version": "0.7.1",
"version": "0.7.2",
"description": "Turn off all rules already supported by oxlint",
"type": "module",
"packageManager": "[email protected]",
Expand Down
8 changes: 6 additions & 2 deletions src/rules-by-category.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,13 @@ const pedanticRules = {
'unicorn/prefer-dom-node-remove': 'off',
'unicorn/prefer-event-target': 'off',
'unicorn/prefer-math-trunc': 'off',
'unicorn/prefer-string-replace-all': 'off',
};

const nurseryRules = {
'constructor-super': 'off',
'getter-return': 'off',
'no-undef': 'off',
'no-unreachable': 'off',
'no-unused-vars': 'off',
'import/export': 'off',
'import/no-deprecated': 'off',
'import/no-unused-modules': 'off',
Expand Down Expand Up @@ -378,6 +376,7 @@ const fixRules = {
'unicorn/prefer-dom-node-append': 'off',
'unicorn/prefer-node-protocol': 'off',
'unicorn/prefer-prototype-methods': 'off',
'unicorn/prefer-string-replace-all': 'off',
'unicorn/prefer-string-starts-ends-with': 'off',
'unicorn/prefer-string-trim-start-end': 'off',
'unicorn/require-number-to-fixed-digits-argument': 'off',
Expand Down Expand Up @@ -427,6 +426,10 @@ const suspiciousRules = {
'unicorn/prefer-add-event-listener': 'off',
};

const dangerousSuggestionRules = {
'no-unused-vars': 'off',
};

export {
pedanticRules,
nurseryRules,
Expand All @@ -442,4 +445,5 @@ export {
pendingRules,
fixDangerousRules,
suspiciousRules,
dangerousSuggestionRules,
};

0 comments on commit 2939d63

Please sign in to comment.