Skip to content

Commit 925c468

Browse files
authored
release: v1.23.0 (#531)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Boshen <[email protected]>
1 parent 2d5af19 commit 925c468

File tree

5 files changed

+49
-39
lines changed

5 files changed

+49
-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": "1.22.0",
3+
"version": "1.23.0",
44
"description": "Turn off all rules already supported by oxlint",
55
"type": "module",
66
"types": "./dist/index.d.ts",
@@ -69,7 +69,7 @@
6969
"jiti": "^2.4.2",
7070
"lint-staged": "^16.0.0",
7171
"memfs": "^4.14.0",
72-
"oxlint": "^1.22.0",
72+
"oxlint": "^1.23.0",
7373
"oxlint-tsgolint": "^0.1.5",
7474
"prettier": "^3.3.3",
7575
"scule": "^1.3.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: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1149,6 +1149,9 @@ exports[`contains all the oxlint rules 1`] = `
11491149
"node/no-new-require": [
11501150
0,
11511151
],
1152+
"node/no-process-env": [
1153+
0,
1154+
],
11521155
"operator-assignment": [
11531156
0,
11541157
"always",
@@ -1352,6 +1355,9 @@ exports[`contains all the oxlint rules 1`] = `
13521355
"react/no-unknown-property": [
13531356
0,
13541357
],
1358+
"react/only-export-components": [
1359+
0,
1360+
],
13551361
"react/prefer-es6-class": [
13561362
0,
13571363
],

src/generated/rules-by-category.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,7 @@ const restrictionRules: Record<string, 'off'> = {
361361
'jsdoc/check-access': 'off',
362362
'jsdoc/empty-tags': 'off',
363363
'jsx-a11y/anchor-ambiguous-text': 'off',
364+
'node/no-process-env': 'off',
364365
'node/no-new-require': 'off',
365366
'promise/catch-or-return': 'off',
366367
'promise/spec-only': 'off',
@@ -369,6 +370,7 @@ const restrictionRules: Record<string, 'off'> = {
369370
'react/jsx-filename-extension': 'off',
370371
'react/no-danger': 'off',
371372
'react/no-unknown-property': 'off',
373+
'react/only-export-components': 'off',
372374
'@typescript-eslint/explicit-module-boundary-types': 'off',
373375
'@typescript-eslint/explicit-function-return-type': 'off',
374376
'@typescript-eslint/no-dynamic-delete': 'off',

src/generated/rules-by-scope.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ const nextjsRules: Record<string, 'off'> = {
315315
};
316316

317317
const nodeRules: Record<string, 'off'> = {
318+
'node/no-process-env': 'off',
318319
'node/no-exports-assign': 'off',
319320
'node/no-new-require': 'off',
320321
};
@@ -370,6 +371,7 @@ const reactRules: Record<string, 'off'> = {
370371
'react/no-string-refs': 'off',
371372
'react/no-unescaped-entities': 'off',
372373
'react/no-unknown-property': 'off',
374+
'react/only-export-components': 'off',
373375
'react/prefer-es6-class': 'off',
374376
'react/react-in-jsx-scope': 'off',
375377
'react/self-closing-comp': 'off',

0 commit comments

Comments
 (0)