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