Skip to content

Commit 681b6c0

Browse files
authored
release: v1.40.0 (#611)
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 8502dfc commit 681b6c0

File tree

5 files changed

+45
-45
lines changed

5 files changed

+45
-45
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.39.0",
3+
"version": "1.40.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.25.0",
72-
"oxlint": "^1.39.0",
72+
"oxlint": "^1.40.0",
7373
"oxlint-tsgolint": "^0.10.1",
7474
"scule": "^1.3.0",
7575
"shelljs": "^0.10.0",

pnpm-lock.yaml

Lines changed: 38 additions & 38 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: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,9 +326,6 @@ 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-
],
332329
"@typescript-eslint/prefer-promise-reject-errors": [
333330
0,
334331
],

src/generated/rules-by-category.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,8 +721,11 @@ const restrictionTypeAwareRules: Record<string, 'off'> = {
721721
'@typescript-eslint/use-unknown-in-catch-callback-variable': 'off',
722722
};
723723

724-
const styleTypeAwareRules: Record<string, 'off'> = {
724+
const nurseryTypeAwareRules: Record<string, 'off'> = {
725725
'@typescript-eslint/prefer-optional-chain': 'off',
726+
};
727+
728+
const styleTypeAwareRules: Record<string, 'off'> = {
726729
'@typescript-eslint/prefer-reduce-type-parameter': 'off',
727730
'@typescript-eslint/prefer-return-this-type': 'off',
728731
};
@@ -739,5 +742,6 @@ export {
739742
pedanticTypeAwareRules,
740743
suspiciousTypeAwareRules,
741744
restrictionTypeAwareRules,
745+
nurseryTypeAwareRules,
742746
styleTypeAwareRules,
743747
};

src/generated/rules-by-scope.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,6 @@ const typescriptTypeAwareRules: Record<string, 'off'> = {
713713
'@typescript-eslint/only-throw-error': 'off',
714714
'@typescript-eslint/prefer-includes': 'off',
715715
'@typescript-eslint/prefer-nullish-coalescing': 'off',
716-
'@typescript-eslint/prefer-optional-chain': 'off',
717716
'@typescript-eslint/prefer-promise-reject-errors': 'off',
718717
'@typescript-eslint/prefer-reduce-type-parameter': 'off',
719718
'@typescript-eslint/prefer-return-this-type': 'off',

0 commit comments

Comments
 (0)