File tree Expand file tree Collapse file tree 5 files changed +59
-39
lines changed Expand file tree Collapse file tree 5 files changed +59
-39
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " eslint-plugin-oxlint" ,
3
- "version" : " 0.15.10 " ,
3
+ "version" : " 0.15.11 " ,
4
4
"description" : " Turn off all rules already supported by oxlint" ,
5
5
"type" : " module" ,
6
6
"types" : " ./dist/index.d.ts" ,
66
66
"husky" : " ^9.1.6" ,
67
67
"lint-staged" : " ^15.2.10" ,
68
68
"memfs" : " ^4.14.0" ,
69
- "oxlint" : " ^0.15.10 " ,
69
+ "oxlint" : " ^0.15.11 " ,
70
70
"prettier" : " ^3.3.3" ,
71
71
"scule" : " ^1.3.0" ,
72
72
"shelljs" : " ^0.8.5" ,
Original file line number Diff line number Diff line change @@ -92,6 +92,9 @@ exports[`contains all the oxlint rules 1`] = `
92
92
" @typescript-eslint/explicit-function-return-type" : [
93
93
0 ,
94
94
],
95
+ " @typescript-eslint/init-declarations" : [
96
+ 0 ,
97
+ ],
95
98
" @typescript-eslint/max-params" : [
96
99
0 ,
97
100
],
@@ -244,6 +247,14 @@ exports[`contains all the oxlint rules 1`] = `
244
247
" always" ,
245
248
{},
246
249
],
250
+ " func-style" : [
251
+ 0 ,
252
+ " expression" ,
253
+ {
254
+ " allowArrowFunctions" : false ,
255
+ " overrides" : {},
256
+ },
257
+ ],
247
258
" guard-for-in" : [
248
259
0 ,
249
260
],
@@ -298,6 +309,9 @@ exports[`contains all the oxlint rules 1`] = `
298
309
" import/unambiguous" : [
299
310
0 ,
300
311
],
312
+ " init-declarations" : [
313
+ 0 ,
314
+ ],
301
315
" jest/consistent-test-it" : [
302
316
0 ,
303
317
],
Original file line number Diff line number Diff line change @@ -147,8 +147,10 @@ const restrictionRules = {
147
147
const styleRules = {
148
148
'default-case-last' : 'off' ,
149
149
'default-param-last' : 'off' ,
150
+ 'func-style' : 'off' ,
150
151
'func-names' : 'off' ,
151
152
'guard-for-in' : 'off' ,
153
+ 'init-declarations' : 'off' ,
152
154
'max-params' : 'off' ,
153
155
'new-cap' : 'off' ,
154
156
'no-extra-label' : 'off' ,
@@ -271,6 +273,7 @@ const styleRules = {
271
273
'vitest/prefer-to-be-object' : 'off' ,
272
274
'vitest/prefer-to-be-truthy' : 'off' ,
273
275
'@typescript-eslint/default-param-last' : 'off' ,
276
+ '@typescript-eslint/init-declarations' : 'off' ,
274
277
'@typescript-eslint/max-params' : 'off' ,
275
278
'@typescript-eslint/no-magic-numbers' : 'off' ,
276
279
'vitest/consistent-test-it' : 'off' ,
Original file line number Diff line number Diff line change @@ -7,8 +7,10 @@ const eslintRules = {
7
7
'default-param-last' : 'off' ,
8
8
eqeqeq : 'off' ,
9
9
'for-direction' : 'off' ,
10
+ 'func-style' : 'off' ,
10
11
'func-names' : 'off' ,
11
12
'guard-for-in' : 'off' ,
13
+ 'init-declarations' : 'off' ,
12
14
'max-classes-per-file' : 'off' ,
13
15
'max-lines' : 'off' ,
14
16
'max-params' : 'off' ,
@@ -382,6 +384,7 @@ const typescriptRules = {
382
384
'@typescript-eslint/prefer-ts-expect-error' : 'off' ,
383
385
'@typescript-eslint/triple-slash-reference' : 'off' ,
384
386
'@typescript-eslint/default-param-last' : 'off' ,
387
+ '@typescript-eslint/init-declarations' : 'off' ,
385
388
'@typescript-eslint/max-params' : 'off' ,
386
389
'@typescript-eslint/no-array-constructor' : 'off' ,
387
390
'@typescript-eslint/no-dupe-class-members' : 'off' ,
You can’t perform that action at this time.
0 commit comments