Skip to content

Commit

Permalink
release: v0.15.12 (#341)
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 <Boshen@users.noreply.github.com>
  • Loading branch information
oxc-bot and Boshen authored Feb 24, 2025
1 parent e36b213 commit 78910e2
Show file tree
Hide file tree
Showing 6 changed files with 79 additions and 40 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-oxlint",
"version": "0.15.11",
"version": "0.15.12",
"description": "Turn off all rules already supported by oxlint",
"type": "module",
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -67,7 +67,7 @@
"jiti": "^2.4.2",
"lint-staged": "^15.2.10",
"memfs": "^4.14.0",
"oxlint": "^0.15.11",
"oxlint": "^0.15.12",
"prettier": "^3.3.3",
"scule": "^1.3.0",
"shelljs": "^0.8.5",
Expand Down
74 changes: 37 additions & 37 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions src/__snapshots__/configs.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,10 @@ exports[`contains all the oxlint rules 1`] = `
"overrides": {},
},
],
"grouped-accessor-pairs": [
0,
"anyOrder",
],
"guard-for-in": [
0,
],
Expand Down Expand Up @@ -603,9 +607,18 @@ exports[`contains all the oxlint rules 1`] = `
"max-classes-per-file": [
0,
],
"max-depth": [
0,
],
"max-lines": [
0,
],
"max-lines-per-function": [
0,
],
"max-nested-callbacks": [
0,
],
"max-params": [
0,
],
Expand Down Expand Up @@ -938,6 +951,12 @@ exports[`contains all the oxlint rules 1`] = `
"no-unexpected-multiline": [
0,
],
"no-unneeded-ternary": [
0,
{
"defaultAssignment": true,
},
],
"no-unsafe-finally": [
0,
],
Expand Down Expand Up @@ -1283,6 +1302,9 @@ exports[`contains all the oxlint rules 1`] = `
"unicorn/no-instanceof-array": [
0,
],
"unicorn/no-invalid-fetch-options": [
0,
],
"unicorn/no-invalid-remove-event-listener": [
0,
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ exports[`handleCategoriesScope > custom plugins, custom categories > customPlugi
"no-extend-native": "off",
"no-new": "off",
"no-unexpected-multiline": "off",
"no-unneeded-ternary": "off",
"no-useless-concat": "off",
"no-useless-constructor": "off",
}
Expand All @@ -35,6 +36,7 @@ exports[`handleCategoriesScope > custom plugins, default categories > customPlug
"no-empty-character-class": "off",
"no-empty-pattern": "off",
"no-empty-static-block": "off",
"no-eval": "off",
"no-ex-assign": "off",
"no-extra-boolean-cast": "off",
"no-func-assign": "off",
Expand Down Expand Up @@ -65,6 +67,7 @@ exports[`handleCategoriesScope > custom plugins, default categories > customPlug
"unicorn/no-await-in-promise-methods": "off",
"unicorn/no-document-cookie": "off",
"unicorn/no-empty-file": "off",
"unicorn/no-invalid-fetch-options": "off",
"unicorn/no-invalid-remove-event-listener": "off",
"unicorn/no-new-array": "off",
"unicorn/no-single-promise-in-promise-methods": "off",
Expand Down Expand Up @@ -114,6 +117,7 @@ exports[`handleCategoriesScope > default plugins (react, unicorn, typescript), d
"no-empty-character-class": "off",
"no-empty-pattern": "off",
"no-empty-static-block": "off",
"no-eval": "off",
"no-ex-assign": "off",
"no-extra-boolean-cast": "off",
"no-func-assign": "off",
Expand Down Expand Up @@ -157,6 +161,7 @@ exports[`handleCategoriesScope > default plugins (react, unicorn, typescript), d
"unicorn/no-await-in-promise-methods": "off",
"unicorn/no-document-cookie": "off",
"unicorn/no-empty-file": "off",
"unicorn/no-invalid-fetch-options": "off",
"unicorn/no-invalid-remove-event-listener": "off",
"unicorn/no-new-array": "off",
"unicorn/no-single-promise-in-promise-methods": "off",
Expand Down
8 changes: 7 additions & 1 deletion src/generated/rules-by-category.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
const pedanticRules: Record<string, 'off'> = {
'array-callback-return': 'off',
eqeqeq: 'off',
'max-nested-callbacks': 'off',
'max-lines-per-function': 'off',
'max-classes-per-file': 'off',
'max-depth': 'off',
'max-lines': 'off',
'no-object-constructor': 'off',
'no-array-constructor': 'off',
Expand Down Expand Up @@ -91,7 +94,6 @@ const restrictionRules: Record<string, 'off'> = {
'no-empty-function': 'off',
'no-empty': 'off',
'no-eq-null': 'off',
'no-eval': 'off',
'no-iterator': 'off',
'no-plusplus': 'off',
'no-proto': 'off',
Expand Down Expand Up @@ -149,6 +151,7 @@ const styleRules: Record<string, 'off'> = {
'default-param-last': 'off',
'func-style': 'off',
'func-names': 'off',
'grouped-accessor-pairs': 'off',
'guard-for-in': 'off',
'init-declarations': 'off',
'max-params': 'off',
Expand Down Expand Up @@ -322,6 +325,7 @@ const correctnessRules: Record<string, 'off'> = {
'no-empty-character-class': 'off',
'no-empty-pattern': 'off',
'no-empty-static-block': 'off',
'no-eval': 'off',
'no-ex-assign': 'off',
'no-extra-boolean-cast': 'off',
'no-func-assign': 'off',
Expand Down Expand Up @@ -446,6 +450,7 @@ const correctnessRules: Record<string, 'off'> = {
'@typescript-eslint/no-wrapper-object-types': 'off',
'@typescript-eslint/prefer-as-const': 'off',
'@typescript-eslint/triple-slash-reference': 'off',
'unicorn/no-invalid-fetch-options': 'off',
'unicorn/no-await-in-promise-methods': 'off',
'unicorn/no-document-cookie': 'off',
'unicorn/no-empty-file': 'off',
Expand Down Expand Up @@ -486,6 +491,7 @@ const perfRules: Record<string, 'off'> = {
};

const suspiciousRules: Record<string, 'off'> = {
'no-unneeded-ternary': 'off',
'no-extend-native': 'off',
'no-new': 'off',
'no-unexpected-multiline': 'off',
Expand Down
6 changes: 6 additions & 0 deletions src/generated/rules-by-scope.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,18 @@ const eslintRules: Record<string, 'off'> = {
'for-direction': 'off',
'func-style': 'off',
'func-names': 'off',
'grouped-accessor-pairs': 'off',
'guard-for-in': 'off',
'init-declarations': 'off',
'max-nested-callbacks': 'off',
'max-lines-per-function': 'off',
'max-classes-per-file': 'off',
'max-depth': 'off',
'max-lines': 'off',
'max-params': 'off',
'new-cap': 'off',
'no-useless-call': 'off',
'no-unneeded-ternary': 'off',
'no-extra-label': 'off',
'no-multi-assign': 'off',
'no-nested-ternary': 'off',
Expand Down Expand Up @@ -408,6 +413,7 @@ const unicornRules: Record<string, 'off'> = {
'unicorn/explicit-length-check': 'off',
'unicorn/filename-case': 'off',
'unicorn/new-for-builtins': 'off',
'unicorn/no-invalid-fetch-options': 'off',
'unicorn/no-abusive-eslint-disable': 'off',
'unicorn/no-anonymous-default-export': 'off',
'unicorn/no-array-for-each': 'off',
Expand Down

0 comments on commit 78910e2

Please sign in to comment.