1
+ {
2
+ "extends" : " tslint:latest" ,
3
+ "files" : [],
4
+ "compilerOptions" : {
5
+ "jsx" : " react" ,
6
+ "declarationDir" : " dist"
7
+ },
8
+ "include" : [
9
+ " src/**/*"
10
+ ],
11
+ "exclude" : [
12
+ " src/**/*.test*"
13
+ ],
14
+ "rules" : {
15
+ "array-type" : [
16
+ true ,
17
+ " generic"
18
+ ],
19
+ "arrow-return-shorthand" : true ,
20
+ "callable-types" : true ,
21
+ "class-name" : true ,
22
+ "comment-format" : [
23
+ true ,
24
+ " check-space"
25
+ ],
26
+ "curly" : true ,
27
+ "cyclomatic-complexity" : [
28
+ true ,
29
+ 7
30
+ ],
31
+ "deprecation" : {
32
+ "severity" : " none"
33
+ },
34
+ "eofline" : true ,
35
+ "forin" : true ,
36
+ "import-blacklist" : [
37
+ true ,
38
+ " rxjs/Rx"
39
+ ],
40
+ "import-spacing" : true ,
41
+ "indent" : [
42
+ true ,
43
+ " spaces" ,
44
+ 4
45
+ ],
46
+ "interface-over-type-literal" : true ,
47
+ "label-position" : true ,
48
+ "max-classes-per-file" : [
49
+ true ,
50
+ 1
51
+ ],
52
+ "max-line-length" : false ,
53
+ "member-access" : false ,
54
+ "member-ordering" : [
55
+ true ,
56
+ {
57
+ "alphabetize" : true ,
58
+ "order" : [
59
+ " private-static-field" ,
60
+ " private-instance-field" ,
61
+ " private-static-accessor" ,
62
+ " private-instance-accessor" ,
63
+ " public-static-field" ,
64
+ " public-instance-field" ,
65
+ " public-static-accessor" ,
66
+ " public-instance-accessor" ,
67
+ " public-constructor" ,
68
+ " private-constructor" ,
69
+ " public-instance-method" ,
70
+ " private-instance-method"
71
+ ]
72
+ }
73
+ ],
74
+ "no-arg" : true ,
75
+ "no-bitwise" : true ,
76
+ "no-consecutive-blank-lines" : true ,
77
+ "no-console" : true ,
78
+ "no-construct" : true ,
79
+ "no-debugger" : true ,
80
+ "no-duplicate-super" : true ,
81
+ "no-empty" : false ,
82
+ "no-empty-interface" : true ,
83
+ "no-eval" : true ,
84
+ "no-implicit-dependencies" : [
85
+ true ,
86
+ " dev"
87
+ ],
88
+ "no-inferrable-types" : [
89
+ false ,
90
+ " ignore-params"
91
+ ],
92
+ "no-misused-new" : true ,
93
+ "no-null-keyword" : true ,
94
+ "no-non-null-assertion" : true ,
95
+ "no-shadowed-variable" : true ,
96
+ "no-string-literal" : false ,
97
+ "no-string-throw" : true ,
98
+ "no-submodule-imports" : [
99
+ true ,
100
+ " @heroicons"
101
+ ],
102
+ "no-switch-case-fall-through" : true ,
103
+ "no-trailing-whitespace" : true ,
104
+ "no-unnecessary-initializer" : true ,
105
+ "no-unused-expression" : true ,
106
+ "no-var-keyword" : true ,
107
+ "object-literal-sort-keys" : true ,
108
+ "one-line" : [
109
+ true ,
110
+ " check-open-brace" ,
111
+ " check-catch" ,
112
+ " check-else" ,
113
+ " check-whitespace"
114
+ ],
115
+ "ordered-imports" : [
116
+ true ,
117
+ {
118
+ "grouped-imports" : true
119
+ }
120
+ ],
121
+ "prefer-const" : true ,
122
+ "quotemark" : [
123
+ true ,
124
+ " single"
125
+ ],
126
+ "radix" : true ,
127
+ "semicolon" : [
128
+ true ,
129
+ " never"
130
+ ],
131
+ "trailing-comma" : [
132
+ true ,
133
+ {
134
+ "multiline" : {
135
+ "objects" : " always" ,
136
+ "arrays" : " always" ,
137
+ "typeLiterals" : " ignore"
138
+ },
139
+ "esSpecCompliant" : true
140
+ }
141
+ ],
142
+ "triple-equals" : [
143
+ true ,
144
+ " allow-null-check"
145
+ ],
146
+ "typedef" : [
147
+ true ,
148
+ " call-signature" ,
149
+ " parameter" ,
150
+ " property-declaration" ,
151
+ " variable-declaration" ,
152
+ " member-variable-declaration" ,
153
+ " object-destructuring" ,
154
+ " array-destructuring"
155
+ ],
156
+ "typedef-whitespace" : [
157
+ true ,
158
+ {
159
+ "call-signature" : " nospace" ,
160
+ "index-signature" : " nospace" ,
161
+ "parameter" : " nospace" ,
162
+ "property-declaration" : " nospace" ,
163
+ "variable-declaration" : " nospace"
164
+ }
165
+ ],
166
+ "unified-signatures" : true ,
167
+ "variable-name" : false ,
168
+ "whitespace" : [
169
+ true ,
170
+ " check-branch" ,
171
+ " check-decl" ,
172
+ " check-operator" ,
173
+ " check-separator" ,
174
+ " check-type"
175
+ ]
176
+ }
177
+ }
0 commit comments