@@ -32,18 +32,9 @@ export function defineConfig({ tsconfigDirName }) {
3232 } ,
3333 } ,
3434 rules : {
35- "@typescript-eslint/ban-ts-comment" : [
36- "error" ,
37- {
38- minimumDescriptionLength : 3 ,
39- "ts-check" : true ,
40- "ts-expect-error" : "allow-with-description" ,
41- "ts-ignore" : "allow-with-description" ,
42- "ts-nocheck" : true ,
43- } ,
44- ] ,
45- "@typescript-eslint/default-param-last" : "error" ,
46- "@typescript-eslint/explicit-member-accessibility" : "error" ,
35+ "@typescript-eslint/ban-ts-comment" : "off" , // replaced by oxlint typescript/ban-ts-comment
36+ "@typescript-eslint/default-param-last" : "off" , // replaced by oxlint typescript/default-param-last
37+ "@typescript-eslint/explicit-member-accessibility" : "off" , // replaced by oxlint typescript/explicit-member-accessibility
4738 "@typescript-eslint/member-ordering" : [
4839 "error" ,
4940 {
@@ -92,17 +83,7 @@ export function defineConfig({ tsconfigDirName }) {
9283 "unicorn/escape-case" : "off" ,
9384 "unicorn/explicit-length-check" : "off" ,
9485 "unicorn/filename-case" : "off" ,
95- "unicorn/import-style" : [
96- "error" ,
97- {
98- styles : {
99- "node:path" : {
100- named : true ,
101- default : false ,
102- } ,
103- } ,
104- } ,
105- ] ,
86+ "unicorn/import-style" : "off" , // replaced by oxlint unicorn/import-style
10687 "unicorn/no-array-callback-reference" : "off" ,
10788 "unicorn/no-array-for-each" : "off" ,
10889 "unicorn/no-array-reduce" : "off" ,
@@ -125,11 +106,11 @@ export function defineConfig({ tsconfigDirName }) {
125106 } ,
126107 } ,
127108 ] ,
128- "unicorn/prefer-at" : "error" ,
109+ "unicorn/prefer-at" : "off" , // replaced by oxlint unicorn/prefer-at
129110 "unicorn/prefer-string-replace-all" : "off" ,
130111 "unicorn/prevent-abbreviations" : "off" ,
131- "unicorn/relative-url-style" : [ "error ", "always" ] ,
132- "unicorn/switch-case-braces" : [ "error ", "avoid" ] ,
112+ "unicorn/relative-url-style" : "off ", // replaced by oxlint unicorn/relative-url-style
113+ "unicorn/switch-case-braces" : "off ", // replaced by oxlint unicorn/switch-case-braces
133114 "unused-imports/no-unused-imports" : "error" ,
134115 "unused-imports/no-unused-vars" : [
135116 "error" ,
@@ -149,7 +130,7 @@ export function defineConfig({ tsconfigDirName }) {
149130 "unused-imports" : unusedImports ,
150131 } ,
151132 rules : {
152- "arrow-body-style" : [ "error ", "as-needed" ] ,
133+ "arrow-body-style" : "off ", // replaced by oxlint
153134 "license-header/header" : [
154135 "error" ,
155136 [
@@ -163,13 +144,13 @@ export function defineConfig({ tsconfigDirName }) {
163144 ] ,
164145 ] ,
165146 "import/no-anonymous-default-export" : "off" ,
166- "no-constant-binary-expression" : "error" ,
167- "no-constructor-return" : "error" ,
168- "no-duplicate-imports" : "error" ,
169- "no-lonely-if" : "error" ,
170- "object-shorthand" : [ "error ", "always" ] ,
147+ "no-constant-binary-expression" : "off" , // replaced by oxlint
148+ "no-constructor-return" : "off" , // replaced by oxlint
149+ "no-duplicate-imports" : "off" , // replaced by oxlint
150+ "no-lonely-if" : "off" , // replaced by oxlint
151+ "object-shorthand" : "off ", // replaced by oxlint
171152 "one-var" : [ "error" , "never" ] ,
172- "prefer-template" : "error" ,
153+ "prefer-template" : "off" , // replaced by oxlint
173154 "sort-imports/sort-imports" : [
174155 "error" ,
175156 {
0 commit comments