-
Notifications
You must be signed in to change notification settings - Fork 37
/
tslint.json
61 lines (61 loc) · 2.56 KB
/
tslint.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"jsRules": {},
"rules": {
"arrow-parens": false,
"quotemark": [ true, "single", "avoid-escape" ],
"align":[ true, "parameters", "statements" ],
"class-name": true,
"comment-format":[ true, "check-space" ],
"curly":true,
"eofline": true,
"indent":[ true, "spaces" ],
"interface-name": [ true ],
"jsdoc-format":true,
"ordered-imports": [ false ],
"max-line-length":[ true, 240 ],
"member-access":false,
"member-ordering": [ true, { "order": "fields-first" } ],
"no-any":false,
"no-arg": true,
"no-angle-bracket-type-assertion": false,
"no-bitwise":false,
"no-conditional-assignment":true,
"no-consecutive-blank-lines":false,
"no-construct": true,
"no-console": [ false ],
"no-debugger": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-eval": true,
"no-inferrable-types": false,
"no-internal-module": true,
"no-namespace": false,
"no-require-imports": false,
"no-shadowed-variable": true,
"no-string-literal": true,
"no-switch-case-fall-through": true,
"no-trailing-whitespace": [true, "ignore-comments"],
"no-unused-expression": true,
"no-use-before-declare": true,
"no-var-keyword": true,
"no-var-requires": false,
"prefer-object-spread": true,
"object-literal-sort-keys": false,
"one-line": [ true, "check-open-brace", "check-catch", "check-else", "check-whitespace" ],
"only-arrow-functions": [true, "allow-declarations", "allow-named-functions"],
"radix": true,
"semicolon": [true, "always"],
"switch-default": true,
"trailing-comma": [ false, { "multiline":"always", "singleline":"never" } ],
"triple-equals": [ true, "allow-null-check" ],
"typedef": [ false, "call-signature", "parameter", "property-declaration", "variable-declaration", "member-variable-declaration" ],
"typedef-whitespace": [ true, { "call-signature":"nospace", "index-signature":"nospace", "parameter":"nospace", "property-declaration":"nospace", "variable-declaration":"nospace" } ],
"variable-name": [ true, "check-format", "allow-leading-underscore", "ban-keywords", "allow-pascal-case" ],
"whitespace": [ true, "check-branch", "check-decl", "check-operator", "check-separator", "check-type" ]
},
"rulesDirectory": []
}