Skip to content

Commit 40ae1de

Browse files
authored
release: v1.24.0 (#536)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Boshen <[email protected]>
1 parent 8e102b5 commit 40ae1de

File tree

5 files changed

+57
-39
lines changed

5 files changed

+57
-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.23.0",
3+
"version": "1.24.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.23.0",
72+
"oxlint": "^1.24.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: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,6 +1140,17 @@ exports[`contains all the oxlint rules 1`] = `
11401140
"allowAsStatement": false,
11411141
},
11421142
],
1143+
"no-warning-comments": [
1144+
0,
1145+
{
1146+
"location": "start",
1147+
"terms": [
1148+
"todo",
1149+
"fixme",
1150+
"xxx",
1151+
],
1152+
},
1153+
],
11431154
"no-with": [
11441155
0,
11451156
],
@@ -1265,6 +1276,9 @@ exports[`contains all the oxlint rules 1`] = `
12651276
"react/checked-requires-onchange-or-readonly": [
12661277
0,
12671278
],
1279+
"react/forbid-dom-props": [
1280+
0,
1281+
],
12681282
"react/forbid-elements": [
12691283
0,
12701284
],

src/generated/rules-by-category.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const pedanticRules: Record<string, 'off'> = {
2222
'no-redeclare': 'off',
2323
'no-self-compare': 'off',
2424
'no-throw-literal': 'off',
25+
'no-warning-comments': 'off',
2526
radix: 'off',
2627
'require-await': 'off',
2728
'sort-vars': 'off',
@@ -366,6 +367,7 @@ const restrictionRules: Record<string, 'off'> = {
366367
'promise/catch-or-return': 'off',
367368
'promise/spec-only': 'off',
368369
'react/button-has-type': 'off',
370+
'react/forbid-dom-props': 'off',
369371
'react/forbid-elements': 'off',
370372
'react/jsx-filename-extension': 'off',
371373
'react/no-danger': 'off',

src/generated/rules-by-scope.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ const eslintRules: Record<string, 'off'> = {
127127
'no-useless-rename': 'off',
128128
'no-var': 'off',
129129
'no-void': 'off',
130+
'no-warning-comments': 'off',
130131
'no-with': 'off',
131132
'operator-assignment': 'off',
132133
'prefer-template': 'off',
@@ -341,6 +342,7 @@ const promiseRules: Record<string, 'off'> = {
341342
const reactRules: Record<string, 'off'> = {
342343
'react/button-has-type': 'off',
343344
'react/checked-requires-onchange-or-readonly': 'off',
345+
'react/forbid-dom-props': 'off',
344346
'react/forbid-elements': 'off',
345347
'react/forward-ref-uses-ref': 'off',
346348
'react/iframe-missing-sandbox': 'off',

0 commit comments

Comments
 (0)