UNPKG

4.17 kBJSONView Raw
1{
2 "extends": [
3 "tslint-eslint-rules",
4 "tslint:latest"
5 ],
6 "rules": {
7 "no-import-side-effect": true,
8 "no-non-null-assertion": true,
9 "no-duplicate-super": true,
10 "member-access": true,
11 "member-ordering": [
12 true,
13 "static-before-instance",
14 "variables-before-functions"
15 ],
16 "no-inferrable-types": [
17 true,
18 "ignore-params"
19 ],
20 "ordered-imports": [
21 false
22 ],
23 "no-internal-module": true,
24 "no-var-requires": true,
25 "typedef": [
26 true,
27 "call-signature",
28 "parameter"
29 ],
30 "space-before-function-paren": [
31 true,
32 {
33 "anonymous": "always",
34 "named": "never",
35 "asyncArrow": "always"
36 }
37 ],
38 "typedef-whitespace": [
39 true,
40 {
41 "call-signature": "nospace",
42 "index-signature": "nospace",
43 "parameter": "nospace",
44 "property-declaration": "nospace",
45 "variable-declaration": "nospace"
46 }
47 ],
48 "max-line-length": [
49 false
50 ],
51 "curly": false,
52 "forin": true,
53 "no-conditional-assignment": true,
54 "no-construct": true,
55 "no-console": [
56 false
57 ],
58 "no-duplicate-variable": true,
59 "no-empty": true,
60 "no-eval": true,
61 "object-literal-sort-keys": false,
62 "no-shadowed-variable": false,
63 "no-string-literal": true,
64 "no-switch-case-fall-through": true,
65 "no-unused-expression": true,
66 "no-var-keyword": true,
67 "max-classes-per-file": [
68 true,
69 1
70 ],
71 "only-arrow-functions": [
72 true,
73 "allow-declarations"
74 ],
75 "radix": true,
76 "switch-default": true,
77 "triple-equals": [
78 true,
79 "allow-null-check"
80 ],
81 "eofline": true,
82 "ter-indent": [
83 true,
84 4,
85 {
86 "SwitchCase": 1
87 }
88 ],
89 "no-require-imports": false,
90 "no-trailing-whitespace": true,
91 "prefer-template": true,
92 "no-reference-import": true,
93 "no-unnecessary-callback-wrapper": true,
94 "linebreak-style": [
95 true,
96 "LF"
97 ],
98 "trailing-comma": [
99 true,
100 {
101 "multiline": "never",
102 "singleline": "never"
103 }
104 ],
105 "align": [
106 true,
107 "parameters",
108 "statements"
109 ],
110 "class-name": true,
111 "comment-format": [
112 true,
113 "check-space"
114 ],
115 "interface-name": [
116 true,
117 "never-prefix"
118 ],
119 "object-literal-key-quotes": [
120 true,
121 "always"
122 ],
123 "jsdoc-format": true,
124 "no-angle-bracket-type-assertion": true,
125 "no-consecutive-blank-lines": [
126 true
127 ],
128 "one-line": [
129 true,
130 "check-open-brace",
131 "check-catch",
132 "check-finally",
133 "check-else"
134 ],
135 "quotemark": [
136 true,
137 "double"
138 ],
139 "semicolon": [
140 true,
141 "always"
142 ],
143 "variable-name": [
144 true,
145 "ban-keywords",
146 "check-format",
147 "allow-pascal-case"
148 ],
149 "whitespace": [
150 true,
151 "check-branch",
152 "check-decl",
153 "check-operator",
154 "check-separator",
155 "check-type"
156 ],
157 "no-inner-declarations": [
158 true,
159 "functions"
160 ],
161 "space-in-parens": [
162 true,
163 "never"
164 ],
165 "brace-style": [
166 true,
167 "1tbs",
168 {
169 "allowSingleLine": true
170 }
171 ]
172 }
173}
\No newline at end of file