1+ {
2+ "env" : {
3+ "es2021" : true ,
4+ "node" : true ,
5+ "mocha" : true
6+ },
7+ "extends" : [
8+ " eslint:recommended" ,
9+ " plugin:@typescript-eslint/recommended" ,
10+ " plugin:@typescript-eslint/recommended-requiring-type-checking" ,
11+ " plugin:import/errors" ,
12+ " plugin:import/warnings" ,
13+ " plugin:import/typescript" ,
14+ " prettier"
15+ ],
16+ "parser" : " @typescript-eslint/parser" ,
17+ "parserOptions" : {
18+ "ecmaVersion" : 2021 ,
19+ "sourceType" : " module" ,
20+ "ecmaFeatures" : {
21+ "impliedStrict" : true
22+ },
23+ "project" : " tsconfig.json"
24+ },
25+ "plugins" : [
26+ " import" ,
27+ " @typescript-eslint" ,
28+ " prettier"
29+ ],
30+ "root" : true ,
31+ "rules" : {
32+ "@typescript-eslint/explicit-module-boundary-types" : " off" ,
33+ "@typescript-eslint/indent" : " off" ,
34+ "@typescript-eslint/no-empty-function" : [
35+ " warn" ,
36+ {
37+ "allow" : [
38+ " constructors"
39+ ]
40+ }
41+ ],
42+ "@typescript-eslint/no-empty-interface" : " error" ,
43+ "@typescript-eslint/no-explicit-any" : " off" ,
44+ "@typescript-eslint/no-floating-promises" : " error" ,
45+ "@typescript-eslint/no-inferrable-types" : [
46+ " warn" ,
47+ {
48+ "ignoreParameters" : true ,
49+ "ignoreProperties" : true
50+ }
51+ ],
52+ "@typescript-eslint/no-namespace" : " off" ,
53+ "@typescript-eslint/no-non-null-assertion" : " off" ,
54+ "@typescript-eslint/no-unused-vars" : [
55+ " warn" ,
56+ {
57+ "args" : " after-used" ,
58+ "argsIgnorePattern" : " ^_" ,
59+ "ignoreRestSiblings" : true ,
60+ "varsIgnorePattern" : " ^_$"
61+ }
62+ ],
63+ "@typescript-eslint/no-use-before-define" : " error" ,
64+ "@typescript-eslint/semi" : " error" ,
65+ "@typescript-eslint/unbound-method" : " off" ,
66+ "arrow-parens" : [
67+ " error" ,
68+ " as-needed"
69+ ],
70+ "brace-style" : [
71+ " warn" ,
72+ " 1tbs" ,
73+ {
74+ "allowSingleLine" : true
75+ }
76+ ],
77+ "comma-dangle" : [
78+ " error" ,
79+ " only-multiline"
80+ ],
81+ "complexity" : " off" ,
82+ "curly" : " error" ,
83+ "dot-notation" : " error" ,
84+ "eqeqeq" : [
85+ " error" ,
86+ " smart"
87+ ],
88+ "eol-last" : " error" ,
89+ "import/no-dynamic-require" : " error" ,
90+ "import/no-default-export" : " error" ,
91+ "import/no-duplicates" : " error" ,
92+ "import/no-self-import" : " error" ,
93+ "import/no-unresolved" : [
94+ " warn" ,
95+ {
96+ "ignore" : [
97+ " vscode"
98+ ]
99+ }
100+ ],
101+ "max-classes-per-file" : [
102+ " error" ,
103+ 1
104+ ],
105+ "max-len" : [
106+ " error" ,
107+ {
108+ "code" : 120
109+ }
110+ ],
111+ "no-bitwise" : " error" ,
112+ "no-console" : [
113+ " error" ,
114+ {
115+ "allow" : [
116+ " info" ,
117+ " error"
118+ ]
119+ }
120+ ],
121+ "no-duplicate-imports" : " error" ,
122+ "no-inner-declarations" : " off" ,
123+ "no-invalid-this" : " error" ,
124+ "no-trailing-spaces" : " error" ,
125+ "no-var" : " error" ,
126+ "prefer-arrow-callback" : " error" ,
127+ "prefer-const" : " error" ,
128+ "prefer-numeric-literals" : " error" ,
129+ "prefer-object-spread" : " error" ,
130+ "prefer-rest-params" : " error" ,
131+ "prefer-spread" : " error" ,
132+ "prefer-template" : " error" ,
133+ "prettier/prettier" : " error" ,
134+ "quotes" : [
135+ " error" ,
136+ " single" ,
137+ {
138+ "avoidEscape" : true
139+ }
140+ ],
141+ "radix" : " error" ,
142+ "semi" : [
143+ " error" ,
144+ " always"
145+ ],
146+ "semi-style" : [
147+ " error" ,
148+ " last"
149+ ],
150+ "spaced-comment" : [
151+ " error" ,
152+ " always"
153+ ],
154+ "space-in-parens" : [
155+ " error" ,
156+ " never"
157+ ],
158+ "sort-imports" : [
159+ " error" ,
160+ {
161+ "ignoreCase" : true ,
162+ "ignoreDeclarationSort" : true ,
163+ "ignoreMemberSort" : false ,
164+ "memberSyntaxSortOrder" : [
165+ " none" ,
166+ " all" ,
167+ " multiple" ,
168+ " single"
169+ ]
170+ }
171+ ],
172+ "yoda" : " error"
173+ }
174+ }
0 commit comments