@@ -71,31 +71,20 @@ export default defineConfig([
7171 "@stylistic/spaced-comment" : "off" ,
7272 "dot-notation" : "error" ,
7373 eqeqeq : [ "error" , "always" , { null : "ignore" } ] ,
74- "id-length" : "off" ,
7574 "import-x/extensions" : "error" ,
7675 "import-x/newline-after-import" : "error" ,
7776 "import-x/order" : "error" ,
78- "init-declarations" : "off" ,
7977 "max-lines-per-function" : [ "warn" , 400 ] ,
80- "max-statements" : "off" ,
8178 "no-global-assign" : "off" ,
82- "no-inline-comments" : "off" ,
83- "no-magic-numbers" : "off" ,
8479 "no-param-reassign" : "error" ,
85- "no-plusplus" : "off" ,
8680 "no-prototype-builtins" : "off" ,
87- "no-ternary" : "off" ,
8881 "no-throw-literal" : "error" ,
89- "no-undefined" : "off" ,
9082 "no-unneeded-ternary" : "error" ,
9183 "no-useless-return" : "error" ,
92- "no-warning-comments" : "off" ,
9384 "object-shorthand" : [ "error" , "methods" ] ,
94- "one-var" : "off" ,
9585 "prefer-const" : "error" ,
9686 "prefer-template" : "error" ,
97- "require-await" : "error" ,
98- "sort-keys" : "off"
87+ "require-await" : "error"
9988 }
10089 } ,
10190 {
@@ -137,13 +126,8 @@ export default defineConfig([
137126 rules : {
138127 "@stylistic/array-element-newline" : "off" ,
139128 "@stylistic/indent" : [ "error" , "tab" ] ,
140- "@stylistic/object-property-newline" : [ "error" , { allowAllPropertiesOnSameLine : true } ] ,
141- "@stylistic/padded-blocks" : [ "error" , "never" ] ,
142129 "@stylistic/quote-props" : [ "error" , "as-needed" ] ,
143- "import-x/no-unresolved" : [ "error" , { ignore : [ "eslint/config" ] } ] ,
144- "max-lines-per-function" : [ "error" , 100 ] ,
145130 "no-magic-numbers" : "off" ,
146- "one-var" : [ "error" , "never" ] ,
147131 "sort-keys" : "off"
148132 }
149133 } ,
@@ -182,16 +166,9 @@ export default defineConfig([
182166 rules : {
183167 "import-x/namespace" : "off" ,
184168 "import-x/named" : "off" ,
185- "import-x/default" : "off" ,
186169 "import-x/extensions" : "off"
187170 }
188171 } ,
189- {
190- files : [ "tests/configs/modules/weather/*.js" ] ,
191- rules : {
192- "@stylistic/quotes" : "off"
193- }
194- } ,
195172 {
196173 files : [ "tests/e2e/**/*.js" ] ,
197174 extends : [ playwright . configs [ "flat/recommended" ] ] ,
0 commit comments