11module . exports = {
22 "extends" : [
33 "eslint:recommended" ,
4- "plugin:@typescript-eslint/eslint-recommended"
5- // "plugin:@typescript-eslint/strict", // I want to enable this. Lots of little changes will happen.
4+ "plugin:@typescript-eslint/eslint-recommended" ,
5+ "plugin:@typescript-eslint/strict" ,
66 ] ,
77 "env" : {
88 "browser" : true ,
@@ -11,7 +11,7 @@ module.exports = {
1111 } ,
1212 "parser" : "@typescript-eslint/parser" ,
1313 "parserOptions" : {
14- "project" : "tsconfig.json" ,
14+ "project" : [ "tsconfig.json" , ".scripts/tsconfig.json" ] ,
1515 "ecmaVersion" : 2022 ,
1616 "sourceType" : "module" ,
1717 "warnOnUnsupportedTypeScriptVersion" : false ,
@@ -59,11 +59,17 @@ module.exports = {
5959 }
6060 }
6161 ] ,
62+ "@typescript-eslint/no-explicit-any" : "off" ,
63+ "@typescript-eslint/no-extraneous-class" : "off" ,
6264 "no-case-declarations" : "off" ,
6365 "no-useless-escape" : "off" ,
6466 "no-floating-decimal" : "error" ,
6567 "keyword-spacing" : [ "error" , { "before" : true , "overrides" : { "this" : { "before" : false } } } ] ,
6668 "arrow-spacing" : [ "error" , { "before" : true , "after" : true } ] ,
69+ "semi-spacing" : [ "error" , { "before" : false , "after" : true } ] ,
70+ "no-extra-parens" : [ "error" , "all" , { "nestedBinaryExpressions" : false , "ternaryOperandBinaryExpressions" : false } ] ,
71+ "@typescript-eslint/no-array-constructor" : "error" ,
72+ "@typescript-eslint/no-useless-constructor" : "error" ,
6773 "@typescript-eslint/no-for-in-array" : "error" ,
6874 "@typescript-eslint/no-misused-new" : "error" ,
6975 "@typescript-eslint/no-misused-promises" : "error" ,
@@ -82,6 +88,7 @@ module.exports = {
8288 "@typescript-eslint/unified-signatures" : "error" ,
8389 "@typescript-eslint/no-floating-promises" : "error" ,
8490 "@typescript-eslint/method-signature-style" : [ "error" , "method" ] ,
91+ "@typescript-eslint/space-infix-ops" : "error" ,
8592 "no-unused-vars" : "off" ,
8693 "@typescript-eslint/no-unused-vars" : [ "error" , { "argsIgnorePattern" : "^_" } ] ,
8794 "@typescript-eslint/no-unnecessary-boolean-literal-compare" : "error" ,
@@ -110,16 +117,19 @@ module.exports = {
110117 "no-fallthrough" : "error" ,
111118 "no-invalid-this" : "error" ,
112119 "no-irregular-whitespace" : "error" ,
120+ "rest-spread-spacing" : [ "error" , "never" ] ,
113121 "no-multiple-empty-lines" : [ "error" , { "max" : 1 , "maxEOF" : 1 , "maxBOF" : 0 } ] ,
114122 "no-new-wrappers" : "error" ,
115123 "no-return-await" : "error" ,
116124 "no-sequences" : "error" ,
117125 "no-sparse-arrays" : "error" ,
118126 "no-trailing-spaces" : "error" ,
127+ "no-multi-spaces" : "error" ,
119128 "no-undef-init" : "error" ,
120129 "no-unsafe-finally" : "error" ,
121130 "no-unused-expressions" : "error" ,
122131 "no-unused-labels" : "error" ,
132+ "space-before-blocks" : "error" ,
123133 "no-var" : "error" ,
124134 "one-var" : [
125135 "error" ,
0 commit comments