Skip to content

Commit ae57842

Browse files
oxc-botBoshen
andauthored
release: v0.15.11 (#323)
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 94aa02d commit ae57842

File tree

5 files changed

+59
-39
lines changed

5 files changed

+59
-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.10",
3+
"version": "0.15.11",
44
"description": "Turn off all rules already supported by oxlint",
55
"type": "module",
66
"types": "./dist/index.d.ts",
@@ -66,7 +66,7 @@
6666
"husky": "^9.1.6",
6767
"lint-staged": "^15.2.10",
6868
"memfs": "^4.14.0",
69-
"oxlint": "^0.15.10",
69+
"oxlint": "^0.15.11",
7070
"prettier": "^3.3.3",
7171
"scule": "^1.3.0",
7272
"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: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ exports[`contains all the oxlint rules 1`] = `
9292
"@typescript-eslint/explicit-function-return-type": [
9393
0,
9494
],
95+
"@typescript-eslint/init-declarations": [
96+
0,
97+
],
9598
"@typescript-eslint/max-params": [
9699
0,
97100
],
@@ -244,6 +247,14 @@ exports[`contains all the oxlint rules 1`] = `
244247
"always",
245248
{},
246249
],
250+
"func-style": [
251+
0,
252+
"expression",
253+
{
254+
"allowArrowFunctions": false,
255+
"overrides": {},
256+
},
257+
],
247258
"guard-for-in": [
248259
0,
249260
],
@@ -298,6 +309,9 @@ exports[`contains all the oxlint rules 1`] = `
298309
"import/unambiguous": [
299310
0,
300311
],
312+
"init-declarations": [
313+
0,
314+
],
301315
"jest/consistent-test-it": [
302316
0,
303317
],

src/generated/rules-by-category.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,10 @@ const restrictionRules = {
147147
const styleRules = {
148148
'default-case-last': 'off',
149149
'default-param-last': 'off',
150+
'func-style': 'off',
150151
'func-names': 'off',
151152
'guard-for-in': 'off',
153+
'init-declarations': 'off',
152154
'max-params': 'off',
153155
'new-cap': 'off',
154156
'no-extra-label': 'off',
@@ -271,6 +273,7 @@ const styleRules = {
271273
'vitest/prefer-to-be-object': 'off',
272274
'vitest/prefer-to-be-truthy': 'off',
273275
'@typescript-eslint/default-param-last': 'off',
276+
'@typescript-eslint/init-declarations': 'off',
274277
'@typescript-eslint/max-params': 'off',
275278
'@typescript-eslint/no-magic-numbers': 'off',
276279
'vitest/consistent-test-it': 'off',

src/generated/rules-by-scope.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ const eslintRules = {
77
'default-param-last': 'off',
88
eqeqeq: 'off',
99
'for-direction': 'off',
10+
'func-style': 'off',
1011
'func-names': 'off',
1112
'guard-for-in': 'off',
13+
'init-declarations': 'off',
1214
'max-classes-per-file': 'off',
1315
'max-lines': 'off',
1416
'max-params': 'off',
@@ -382,6 +384,7 @@ const typescriptRules = {
382384
'@typescript-eslint/prefer-ts-expect-error': 'off',
383385
'@typescript-eslint/triple-slash-reference': 'off',
384386
'@typescript-eslint/default-param-last': 'off',
387+
'@typescript-eslint/init-declarations': 'off',
385388
'@typescript-eslint/max-params': 'off',
386389
'@typescript-eslint/no-array-constructor': 'off',
387390
'@typescript-eslint/no-dupe-class-members': 'off',

0 commit comments

Comments
 (0)