Skip to content

Commit 8e10ae5

Browse files
oxc-botBoshen
andauthored
release: v0.15.13 (#344)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Boshen <[email protected]>
1 parent d87619a commit 8e10ae5

File tree

7 files changed

+155
-107
lines changed

7 files changed

+155
-107
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.12",
3+
"version": "0.15.13",
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.12",
70+
"oxlint": "^0.15.13",
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: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@ exports[`contains all the oxlint rules 1`] = `
164164
"@typescript-eslint/no-require-imports": [
165165
0,
166166
],
167+
"@typescript-eslint/no-restricted-imports": [
168+
0,
169+
],
167170
"@typescript-eslint/no-this-alias": [
168171
0,
169172
],
@@ -226,6 +229,10 @@ exports[`contains all the oxlint rules 1`] = `
226229
"checkForEach": false,
227230
},
228231
],
232+
"curly": [
233+
0,
234+
"all",
235+
],
229236
"default-case": [
230237
0,
231238
{},
@@ -274,6 +281,9 @@ exports[`contains all the oxlint rules 1`] = `
274281
"import/namespace": [
275282
0,
276283
],
284+
"import/no-absolute-path": [
285+
0,
286+
],
277287
"import/no-amd": [
278288
0,
279289
],
@@ -292,6 +302,9 @@ exports[`contains all the oxlint rules 1`] = `
292302
"import/no-dynamic-require": [
293303
0,
294304
],
305+
"import/no-mutable-exports": [
306+
0,
307+
],
295308
"import/no-named-as-default": [
296309
0,
297310
],
@@ -908,6 +921,9 @@ exports[`contains all the oxlint rules 1`] = `
908921
"no-restricted-globals": [
909922
0,
910923
],
924+
"no-restricted-imports": [
925+
0,
926+
],
911927
"no-return-assign": [
912928
0,
913929
"except-parens",
@@ -1031,6 +1047,10 @@ exports[`contains all the oxlint rules 1`] = `
10311047
"node/no-new-require": [
10321048
0,
10331049
],
1050+
"operator-assignment": [
1051+
0,
1052+
"always",
1053+
],
10341054
"prefer-exponentiation-operator": [
10351055
0,
10361056
],
@@ -1064,6 +1084,9 @@ exports[`contains all the oxlint rules 1`] = `
10641084
"promise/no-callback-in-promise": [
10651085
0,
10661086
],
1087+
"promise/no-nesting": [
1088+
0,
1089+
],
10671090
"promise/no-new-statics": [
10681091
0,
10691092
],
@@ -1164,6 +1187,9 @@ exports[`contains all the oxlint rules 1`] = `
11641187
"react/no-is-mounted": [
11651188
0,
11661189
],
1190+
"react/no-namespace": [
1191+
0,
1192+
],
11671193
"react/no-render-return-value": [
11681194
0,
11691195
],
@@ -1242,6 +1268,9 @@ exports[`contains all the oxlint rules 1`] = `
12421268
"unicorn/catch-error-name": [
12431269
0,
12441270
],
1271+
"unicorn/consistent-date-clone": [
1272+
0,
1273+
],
12451274
"unicorn/consistent-empty-array-spread": [
12461275
0,
12471276
],

src/build-from-oxlint-config/__snapshots__/categories.spec.ts.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
exports[`handleCategoriesScope > custom plugins, custom categories > customPluginCustomCategories 1`] = `
44
{
5+
"import/no-absolute-path": "off",
56
"import/no-duplicates": "off",
67
"import/no-named-as-default": "off",
78
"import/no-named-as-default-member": "off",

src/generated/configs-by-category.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ const pedanticConfig = {
77
rules: rules.pedanticRules,
88
};
99

10-
const restrictionConfig = {
11-
name: 'oxlint/restriction',
12-
rules: rules.restrictionRules,
13-
};
14-
1510
const styleConfig = {
1611
name: 'oxlint/style',
1712
rules: rules.styleRules,
1813
};
1914

15+
const restrictionConfig = {
16+
name: 'oxlint/restriction',
17+
rules: rules.restrictionRules,
18+
};
19+
2020
const correctnessConfig = {
2121
name: 'oxlint/correctness',
2222
rules: rules.correctnessRules,
@@ -34,8 +34,8 @@ const suspiciousConfig = {
3434

3535
const configByCategory = {
3636
'flat/pedantic': pedanticConfig,
37-
'flat/restriction': restrictionConfig,
3837
'flat/style': styleConfig,
38+
'flat/restriction': restrictionConfig,
3939
'flat/correctness': correctnessConfig,
4040
'flat/perf': perfConfig,
4141
'flat/suspicious': suspiciousConfig,

0 commit comments

Comments
 (0)