@@ -26,7 +26,6 @@ const config = [
2626 } ,
2727 "rules" : {
2828 ...eslintPluginStylistic . configs [ "all-flat" ] . rules ,
29- "@stylistic/array-element-newline" : "off" ,
3029 "@stylistic/dot-location" : [ "error" , "property" ] ,
3130 "@stylistic/function-call-argument-newline" : "off" ,
3231 "@stylistic/function-paren-newline" : "off" ,
@@ -43,15 +42,12 @@ const config = [
4342 "capitalized-comments" : "off" ,
4443 "curly" : "off" ,
4544 "default-case" : "off" ,
46- "id-length" : "off" ,
47- "import/no-unresolved" : "off" ,
45+ "id-length" : [ "warn" , { "exceptions" : [ "a" , "b" , "c" , "e" , "f" , "i" , "j" , "k" , "l" , "p" , "r" , "t" , "v" ] } ] ,
4846 "init-declarations" : "off" ,
49- "line-comment-position" : "off" ,
50- "max-lines" : [ "warn" , 700 ] ,
51- "max-lines-per-function" : [ "warn" , 200 ] ,
47+ "max-lines" : [ "warn" , 550 ] ,
48+ "max-lines-per-function" : [ "warn" , 150 ] ,
5249 "max-params" : [ "warn" , 5 ] ,
53- "max-statements" : "off" ,
54- "multiline-comment-style" : "off" ,
50+ "max-statements" : [ "warn" , 65 ] ,
5551 "no-inline-comments" : "off" ,
5652 "no-magic-numbers" : "off" ,
5753 "no-param-reassign" : [
@@ -73,9 +69,7 @@ const config = [
7369 "no-ternary" : "off" ,
7470 "one-var" : "off" ,
7571 "prefer-destructuring" : "off" ,
76- "prefer-named-capture-group" : "off" ,
7772 "sort-keys" : "off" ,
78- "sort-vars" : "off" ,
7973 "strict" : "off"
8074 }
8175 } ,
@@ -95,12 +89,7 @@ const config = [
9589 ...eslintPluginStylistic . configs [ "all-flat" ] . rules ,
9690 "@stylistic/array-element-newline" : "off" ,
9791 "@stylistic/indent" : [ "error" , 2 ] ,
98- "@stylistic/padded-blocks" : [ "error" , "never" ] ,
99- "func-style" : "off" ,
100- "max-lines-per-function" : [ "error" , 100 ] ,
101- "no-magic-numbers" : "off" ,
102- "one-var" : "off" ,
103- "prefer-destructuring" : "off"
92+ "no-magic-numbers" : "off"
10493 }
10594 }
10695] ;
0 commit comments