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 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" ,
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" ,
Original file line number Diff line number Diff 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 ],
Original file line number Diff line number Diff line change @@ -147,8 +147,10 @@ const restrictionRules = {
147147const 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' ,
Original file line number Diff line number Diff 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' ,
You can’t perform that action at this time.
0 commit comments