Skip to content

Commit 4142d5d

Browse files
authored
release: v1.39.0 (#604)
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 b5963bf commit 4142d5d

File tree

5 files changed

+80
-44
lines changed

5 files changed

+80
-44
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-oxlint",
3-
"version": "1.38.0",
3+
"version": "1.39.0",
44
"description": "Turn off all rules already supported by oxlint",
55
"keywords": [
66
"eslint",
@@ -69,7 +69,7 @@
6969
"lint-staged": "^16.0.0",
7070
"memfs": "^4.14.0",
7171
"oxfmt": "^0.23.0",
72-
"oxlint": "^1.38.0",
72+
"oxlint": "^1.39.0",
7373
"oxlint-tsgolint": "^0.10.1",
7474
"scule": "^1.3.0",
7575
"shelljs": "^0.10.0",

pnpm-lock.yaml

Lines changed: 37 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/__snapshots__/configs.spec.ts.snap

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,9 @@ exports[`contains all the oxlint rules 1`] = `
326326
"@typescript-eslint/prefer-nullish-coalescing": [
327327
0,
328328
],
329+
"@typescript-eslint/prefer-optional-chain": [
330+
0,
331+
],
329332
"@typescript-eslint/prefer-promise-reject-errors": [
330333
0,
331334
],
@@ -841,9 +844,6 @@ exports[`contains all the oxlint rules 1`] = `
841844
"jsx-a11y/no-redundant-roles": [
842845
0,
843846
],
844-
"jsx-a11y/no-static-element-interactions": [
845-
0,
846-
],
847847
"jsx-a11y/prefer-tag-over-role": [
848848
0,
849849
],
@@ -2045,6 +2045,9 @@ exports[`contains all the oxlint rules 1`] = `
20452045
"vars-on-top": [
20462046
0,
20472047
],
2048+
"vitest/consistent-each-for": [
2049+
0,
2050+
],
20482051
"vitest/consistent-test-filename": [
20492052
0,
20502053
],
@@ -2057,6 +2060,9 @@ exports[`contains all the oxlint rules 1`] = `
20572060
"vitest/expect-expect": [
20582061
0,
20592062
],
2063+
"vitest/hoisted-apis-on-top": [
2064+
0,
2065+
],
20602066
"vitest/max-expects": [
20612067
0,
20622068
],
@@ -2120,6 +2126,12 @@ exports[`contains all the oxlint rules 1`] = `
21202126
"vitest/no-test-return-statement": [
21212127
0,
21222128
],
2129+
"vitest/no-unneeded-async-expect-function": [
2130+
0,
2131+
],
2132+
"vitest/prefer-called-once": [
2133+
0,
2134+
],
21232135
"vitest/prefer-called-times": [
21242136
0,
21252137
],
@@ -2129,6 +2141,9 @@ exports[`contains all the oxlint rules 1`] = `
21292141
"vitest/prefer-comparison-matcher": [
21302142
0,
21312143
],
2144+
"vitest/prefer-describe-function-title": [
2145+
0,
2146+
],
21322147
"vitest/prefer-each": [
21332148
0,
21342149
],
@@ -2210,6 +2225,9 @@ exports[`contains all the oxlint rules 1`] = `
22102225
"vue/max-props": [
22112226
0,
22122227
],
2228+
"vue/no-arrow-functions-in-watch": [
2229+
0,
2230+
],
22132231
"vue/no-deprecated-destroyed-lifecycle": [
22142232
0,
22152233
],
@@ -2219,6 +2237,9 @@ exports[`contains all the oxlint rules 1`] = `
22192237
"vue/no-import-compiler-macros": [
22202238
0,
22212239
],
2240+
"vue/no-lifecycle-after-await": [
2241+
0,
2242+
],
22222243
"vue/no-multiple-slot-args": [
22232244
0,
22242245
],

src/generated/rules-by-category.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,10 @@ const styleRules: Record<string, 'off'> = {
276276
'vitest/consistent-test-filename': 'off',
277277
'vitest/consistent-vitest-vi': 'off',
278278
'vitest/no-import-node-test': 'off',
279+
'vitest/no-unneeded-async-expect-function': 'off',
280+
'vitest/prefer-called-once': 'off',
279281
'vitest/prefer-called-times': 'off',
282+
'vitest/prefer-describe-function-title': 'off',
280283
'vitest/prefer-to-be-falsy': 'off',
281284
'vitest/prefer-to-be-object': 'off',
282285
'vitest/prefer-to-be-truthy': 'off',
@@ -536,7 +539,6 @@ const correctnessRules: Record<string, 'off'> = {
536539
'jsx-a11y/media-has-caption': 'off',
537540
'jsx-a11y/mouse-events-have-key-events': 'off',
538541
'jsx-a11y/no-noninteractive-tabindex': 'off',
539-
'jsx-a11y/no-static-element-interactions': 'off',
540542
'jsx-a11y/no-access-key': 'off',
541543
'jsx-a11y/no-aria-hidden-on-focusable': 'off',
542544
'jsx-a11y/no-autofocus': 'off',
@@ -613,11 +615,15 @@ const correctnessRules: Record<string, 'off'> = {
613615
'unicorn/no-useless-spread': 'off',
614616
'unicorn/prefer-set-size': 'off',
615617
'unicorn/prefer-string-starts-ends-with': 'off',
618+
'vitest/consistent-each-for': 'off',
619+
'vitest/hoisted-apis-on-top': 'off',
616620
'vitest/no-conditional-tests': 'off',
617621
'vitest/require-local-test-context-for-concurrent-snapshots': 'off',
618622
'vitest/warn-todo': 'off',
623+
'vue/no-arrow-functions-in-watch': 'off',
619624
'vue/no-deprecated-destroyed-lifecycle': 'off',
620625
'vue/no-export-in-script-setup': 'off',
626+
'vue/no-lifecycle-after-await': 'off',
621627
'vue/no-this-in-before-route-enter': 'off',
622628
'vue/prefer-import-from-vue': 'off',
623629
'vue/valid-define-emits': 'off',
@@ -643,6 +649,7 @@ const nurseryRules: Record<string, 'off'> = {
643649
'no-unreachable': 'off',
644650
'import/export': 'off',
645651
'import/named': 'off',
652+
'jsx-a11y/no-static-element-interactions': 'off',
646653
'promise/no-return-in-finally': 'off',
647654
'react/require-render-return': 'off',
648655
};
@@ -715,6 +722,7 @@ const restrictionTypeAwareRules: Record<string, 'off'> = {
715722
};
716723

717724
const styleTypeAwareRules: Record<string, 'off'> = {
725+
'@typescript-eslint/prefer-optional-chain': 'off',
718726
'@typescript-eslint/prefer-reduce-type-parameter': 'off',
719727
'@typescript-eslint/prefer-return-this-type': 'off',
720728
};

src/generated/rules-by-scope.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,6 @@ const jsxA11yRules: Record<string, 'off'> = {
292292
'jsx-a11y/media-has-caption': 'off',
293293
'jsx-a11y/mouse-events-have-key-events': 'off',
294294
'jsx-a11y/no-noninteractive-tabindex': 'off',
295-
'jsx-a11y/no-static-element-interactions': 'off',
296295
'jsx-a11y/no-access-key': 'off',
297296
'jsx-a11y/no-aria-hidden-on-focusable': 'off',
298297
'jsx-a11y/no-autofocus': 'off',
@@ -605,11 +604,16 @@ const unicornRules: Record<string, 'off'> = {
605604
};
606605

607606
const vitestRules: Record<string, 'off'> = {
607+
'vitest/consistent-each-for': 'off',
608608
'vitest/consistent-test-filename': 'off',
609609
'vitest/consistent-vitest-vi': 'off',
610+
'vitest/hoisted-apis-on-top': 'off',
610611
'vitest/no-conditional-tests': 'off',
611612
'vitest/no-import-node-test': 'off',
613+
'vitest/no-unneeded-async-expect-function': 'off',
614+
'vitest/prefer-called-once': 'off',
612615
'vitest/prefer-called-times': 'off',
616+
'vitest/prefer-describe-function-title': 'off',
613617
'vitest/prefer-to-be-falsy': 'off',
614618
'vitest/prefer-to-be-object': 'off',
615619
'vitest/prefer-to-be-truthy': 'off',
@@ -663,9 +667,11 @@ const vueRules: Record<string, 'off'> = {
663667
'vue/define-props-declaration': 'off',
664668
'vue/define-props-destructuring': 'off',
665669
'vue/max-props': 'off',
670+
'vue/no-arrow-functions-in-watch': 'off',
666671
'vue/no-deprecated-destroyed-lifecycle': 'off',
667672
'vue/no-export-in-script-setup': 'off',
668673
'vue/no-import-compiler-macros': 'off',
674+
'vue/no-lifecycle-after-await': 'off',
669675
'vue/no-multiple-slot-args': 'off',
670676
'vue/no-required-prop-with-default': 'off',
671677
'vue/no-this-in-before-route-enter': 'off',
@@ -707,6 +713,7 @@ const typescriptTypeAwareRules: Record<string, 'off'> = {
707713
'@typescript-eslint/only-throw-error': 'off',
708714
'@typescript-eslint/prefer-includes': 'off',
709715
'@typescript-eslint/prefer-nullish-coalescing': 'off',
716+
'@typescript-eslint/prefer-optional-chain': 'off',
710717
'@typescript-eslint/prefer-promise-reject-errors': 'off',
711718
'@typescript-eslint/prefer-reduce-type-parameter': 'off',
712719
'@typescript-eslint/prefer-return-this-type': 'off',

0 commit comments

Comments
 (0)