Skip to content

Commit

Permalink
release: v0.15.4 (#293)
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
oxc-bot and Boshen authored Dec 30, 2024
1 parent 75eda50 commit b4562e3
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 49 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.3",
"version": "0.15.4",
"description": "Turn off all rules already supported by oxlint",
"type": "module",
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -66,7 +66,7 @@
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"memfs": "^4.14.0",
"oxlint": "^0.15.3",
"oxlint": "^0.15.4",
"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.

37 changes: 31 additions & 6 deletions src/__snapshots__/configs.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,6 @@ exports[`contains all the oxlint rules 1`] = `
"import/max-dependencies": [
0,
],
"import/named": [
0,
],
"import/namespace": [
0,
],
Expand Down Expand Up @@ -565,6 +562,9 @@ exports[`contains all the oxlint rules 1`] = `
"jsx-a11y/no-distracting-elements": [
0,
],
"jsx-a11y/no-noninteractive-tabindex": [
0,
],
"jsx-a11y/no-redundant-roles": [
0,
],
Expand Down Expand Up @@ -731,6 +731,9 @@ exports[`contains all the oxlint rules 1`] = `
0,
{},
],
"no-extra-label": [
0,
],
"no-fallthrough": [
0,
{
Expand Down Expand Up @@ -777,15 +780,34 @@ exports[`contains all the oxlint rules 1`] = `
"no-label-var": [
0,
],
"no-labels": [
0,
{
"allowLoop": false,
"allowSwitch": false,
},
],
"no-loss-of-precision": [
0,
],
"no-magic-numbers": [
0,
],
"no-multi-assign": [
0,
{
"ignoreNonDeclaration": false,
},
],
"no-multi-str": [
0,
],
"no-negated-condition": [
0,
],
"no-nested-ternary": [
0,
],
"no-new": [
0,
],
Expand Down Expand Up @@ -954,6 +976,9 @@ exports[`contains all the oxlint rules 1`] = `
"prefer-object-has-own": [
0,
],
"prefer-rest-params": [
0,
],
"prefer-spread": [
0,
],
Expand Down Expand Up @@ -1216,9 +1241,6 @@ exports[`contains all the oxlint rules 1`] = `
"unicorn/no-magic-array-flat-depth": [
0,
],
"unicorn/no-negated-condition": [
0,
],
"unicorn/no-negation-in-equality-check": [
0,
],
Expand Down Expand Up @@ -1427,6 +1449,9 @@ exports[`contains all the oxlint rules 1`] = `
"requireStringLiterals": false,
},
],
"vars-on-top": [
0,
],
"vitest/consistent-test-it": [
0,
],
Expand Down
10 changes: 8 additions & 2 deletions src/generated/rules-by-category.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const pedanticRules = {
'no-else-return': 'off',
'no-fallthrough': 'off',
'no-inner-declarations': 'off',
'no-negated-condition': 'off',
'no-new-wrappers': 'off',
'no-object-constructor': 'off',
'no-prototype-builtins': 'off',
Expand Down Expand Up @@ -48,7 +49,6 @@ const pedanticRules = {
'unicorn/no-hex-escape': 'off',
'unicorn/no-instanceof-array': 'off',
'unicorn/no-lonely-if': 'off',
'unicorn/no-negated-condition': 'off',
'unicorn/no-negation-in-equality-check': 'off',
'unicorn/no-new-buffer': 'off',
'unicorn/no-object-as-default-parameter': 'off',
Expand Down Expand Up @@ -151,9 +151,13 @@ const styleRules = {
'max-params': 'off',
'no-continue': 'off',
'no-duplicate-imports': 'off',
'no-extra-label': 'off',
'no-label-var': 'off',
'no-labels': 'off',
'no-magic-numbers': 'off',
'no-multi-assign': 'off',
'no-multi-str': 'off',
'no-nested-ternary': 'off',
'no-new-func': 'off',
'no-return-assign': 'off',
'no-script-url': 'off',
Expand All @@ -162,9 +166,11 @@ const styleRules = {
'prefer-exponentiation-operator': 'off',
'prefer-numeric-literals': 'off',
'prefer-object-has-own': 'off',
'prefer-rest-params': 'off',
'prefer-spread': 'off',
'sort-imports': 'off',
'sort-keys': 'off',
'vars-on-top': 'off',
yoda: 'off',
'import/first': 'off',
'import/no-named-default': 'off',
Expand Down Expand Up @@ -319,7 +325,6 @@ const correctnessRules = {
'use-isnan': 'off',
'valid-typeof': 'off',
'import/default': 'off',
'import/named': 'off',
'import/namespace': 'off',
'jest/expect-expect': 'off',
'jest/no-conditional-expect': 'off',
Expand Down Expand Up @@ -361,6 +366,7 @@ const correctnessRules = {
'jsx-a11y/no-aria-hidden-on-focusable': 'off',
'jsx-a11y/no-autofocus': 'off',
'jsx-a11y/no-distracting-elements': 'off',
'jsx-a11y/no-noninteractive-tabindex': 'off',
'jsx-a11y/no-redundant-roles': 'off',
'jsx-a11y/prefer-tag-over-role': 'off',
'jsx-a11y/role-has-required-aria-props': 'off',
Expand Down
10 changes: 8 additions & 2 deletions src/generated/rules-by-scope.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const eslintRules = {
'no-ex-assign': 'off',
'no-extend-native': 'off',
'no-extra-boolean-cast': 'off',
'no-extra-label': 'off',
'no-fallthrough': 'off',
'no-func-assign': 'off',
'no-global-assign': 'off',
Expand All @@ -57,9 +58,13 @@ const eslintRules = {
'no-irregular-whitespace': 'off',
'no-iterator': 'off',
'no-label-var': 'off',
'no-labels': 'off',
'no-loss-of-precision': 'off',
'no-magic-numbers': 'off',
'no-multi-assign': 'off',
'no-multi-str': 'off',
'no-negated-condition': 'off',
'no-nested-ternary': 'off',
'no-new': 'off',
'no-new-func': 'off',
'no-new-native-nonconstructor': 'off',
Expand Down Expand Up @@ -104,6 +109,7 @@ const eslintRules = {
'prefer-exponentiation-operator': 'off',
'prefer-numeric-literals': 'off',
'prefer-object-has-own': 'off',
'prefer-rest-params': 'off',
'prefer-spread': 'off',
radix: 'off',
'require-await': 'off',
Expand All @@ -115,14 +121,14 @@ const eslintRules = {
'unicode-bom': 'off',
'use-isnan': 'off',
'valid-typeof': 'off',
'vars-on-top': 'off',
yoda: 'off',
} as const;

const importRules = {
'import/default': 'off',
'import/first': 'off',
'import/max-dependencies': 'off',
'import/named': 'off',
'import/namespace': 'off',
'import/no-amd': 'off',
'import/no-commonjs': 'off',
Expand Down Expand Up @@ -234,6 +240,7 @@ const jsxA11yRules = {
'jsx-a11y/no-aria-hidden-on-focusable': 'off',
'jsx-a11y/no-autofocus': 'off',
'jsx-a11y/no-distracting-elements': 'off',
'jsx-a11y/no-noninteractive-tabindex': 'off',
'jsx-a11y/no-redundant-roles': 'off',
'jsx-a11y/prefer-tag-over-role': 'off',
'jsx-a11y/role-has-required-aria-props': 'off',
Expand Down Expand Up @@ -407,7 +414,6 @@ const unicornRules = {
'unicorn/no-length-as-slice-end': 'off',
'unicorn/no-lonely-if': 'off',
'unicorn/no-magic-array-flat-depth': 'off',
'unicorn/no-negated-condition': 'off',
'unicorn/no-negation-in-equality-check': 'off',
'unicorn/no-nested-ternary': 'off',
'unicorn/no-new-array': 'off',
Expand Down

0 comments on commit b4562e3

Please sign in to comment.