Skip to content

Commit e661bac

Browse files
oxc-botBoshen
andauthored
release: v0.15.14 (#350)
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 f7b36f4 commit e661bac

File tree

5 files changed

+64
-39
lines changed

5 files changed

+64
-39
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": "0.15.13",
3+
"version": "0.15.14",
44
"description": "Turn off all rules already supported by oxlint",
55
"type": "module",
66
"types": "./dist/index.d.ts",
@@ -67,7 +67,7 @@
6767
"jiti": "^2.4.2",
6868
"lint-staged": "^15.2.10",
6969
"memfs": "^4.14.0",
70-
"oxlint": "^0.15.13",
70+
"oxlint": "^0.15.14",
7171
"prettier": "^3.3.3",
7272
"scule": "^1.3.0",
7373
"shelljs": "^0.8.5",

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: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,9 @@ exports[`contains all the oxlint rules 1`] = `
272272
"import/default": [
273273
0,
274274
],
275+
"import/exports-last": [
276+
0,
277+
],
275278
"import/first": [
276279
0,
277280
],
@@ -287,6 +290,9 @@ exports[`contains all the oxlint rules 1`] = `
287290
"import/no-amd": [
288291
0,
289292
],
293+
"import/no-anonymous-default-export": [
294+
0,
295+
],
290296
"import/no-commonjs": [
291297
0,
292298
],
@@ -1093,6 +1099,9 @@ exports[`contains all the oxlint rules 1`] = `
10931099
"promise/no-promise-in-callback": [
10941100
0,
10951101
],
1102+
"promise/no-return-wrap": [
1103+
0,
1104+
],
10961105
"promise/param-names": [
10971106
0,
10981107
],
@@ -1102,6 +1111,9 @@ exports[`contains all the oxlint rules 1`] = `
11021111
"promise/prefer-await-to-then": [
11031112
0,
11041113
],
1114+
"promise/prefer-catch": [
1115+
0,
1116+
],
11051117
"promise/spec-only": [
11061118
0,
11071119
],
@@ -1142,6 +1154,9 @@ exports[`contains all the oxlint rules 1`] = `
11421154
"react/jsx-curly-brace-presence": [
11431155
0,
11441156
],
1157+
"react/jsx-filename-extension": [
1158+
0,
1159+
],
11451160
"react/jsx-key": [
11461161
0,
11471162
],

src/generated/rules-by-category.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ const styleRules: Record<string, 'off'> = {
123123
'sort-keys': 'off',
124124
'vars-on-top': 'off',
125125
yoda: 'off',
126+
'import/exports-last': 'off',
126127
'import/first': 'off',
128+
'import/no-anonymous-default-export': 'off',
127129
'import/no-mutable-exports': 'off',
128130
'import/no-named-default': 'off',
129131
'import/no-namespace': 'off',
@@ -166,8 +168,10 @@ const styleRules: Record<string, 'off'> = {
166168
'jest/require-top-level-describe': 'off',
167169
'node/no-exports-assign': 'off',
168170
'promise/avoid-new': 'off',
171+
'promise/no-return-wrap': 'off',
169172
'promise/no-nesting': 'off',
170173
'promise/param-names': 'off',
174+
'promise/prefer-catch': 'off',
171175
'promise/prefer-await-to-callbacks': 'off',
172176
'promise/prefer-await-to-then': 'off',
173177
'react/jsx-boolean-value': 'off',
@@ -283,6 +287,7 @@ const restrictionRules: Record<string, 'off'> = {
283287
'promise/catch-or-return': 'off',
284288
'promise/spec-only': 'off',
285289
'react/button-has-type': 'off',
290+
'react/jsx-filename-extension': 'off',
286291
'react/no-danger': 'off',
287292
'react/no-unknown-property': 'off',
288293
'@typescript-eslint/explicit-function-return-type': 'off',

src/generated/rules-by-scope.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,9 @@ const eslintRules: Record<string, 'off'> = {
142142

143143
const importRules: Record<string, 'off'> = {
144144
'import/default': 'off',
145+
'import/exports-last': 'off',
145146
'import/first': 'off',
147+
'import/no-anonymous-default-export': 'off',
146148
'import/no-absolute-path': 'off',
147149
'import/no-mutable-exports': 'off',
148150
'import/no-named-default': 'off',
@@ -298,11 +300,13 @@ const nodeRules: Record<string, 'off'> = {
298300
const promiseRules: Record<string, 'off'> = {
299301
'promise/avoid-new': 'off',
300302
'promise/catch-or-return': 'off',
303+
'promise/no-return-wrap': 'off',
301304
'promise/no-nesting': 'off',
302305
'promise/no-promise-in-callback': 'off',
303306
'promise/no-callback-in-promise': 'off',
304307
'promise/no-new-statics': 'off',
305308
'promise/param-names': 'off',
309+
'promise/prefer-catch': 'off',
306310
'promise/prefer-await-to-callbacks': 'off',
307311
'promise/prefer-await-to-then': 'off',
308312
'promise/spec-only': 'off',
@@ -313,6 +317,7 @@ const reactRules: Record<string, 'off'> = {
313317
'react/button-has-type': 'off',
314318
'react/checked-requires-onchange-or-readonly': 'off',
315319
'react/iframe-missing-sandbox': 'off',
320+
'react/jsx-filename-extension': 'off',
316321
'react/jsx-boolean-value': 'off',
317322
'react/jsx-curly-brace-presence': 'off',
318323
'react/jsx-key': 'off',

0 commit comments

Comments
 (0)