-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathtslint.json
72 lines (72 loc) · 2.13 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
62
63
64
65
66
67
68
69
70
71
72
{
"extends": [
"tslint:recommended",
"tslint-eslint-rules"
],
"rules": {
"cyclomatic-complexity": [true],
"curly": false,
"triple-equals": true,
"no-empty": true,
"no-invalid-this": true,
"no-multi-spaces": [true],
"no-construct": true,
"no-unused-expression": true,
"no-shadowed-variable": true,
"no-console": false,
"handle-callback-err": [true, "error"],
"block-spacing": [true, "always"],
"brace-style": [true, "1tbs", { "allowSingleLine": true }],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
"trailing-comma": [false],
"eofline": true,
"indent": [true, "tabs"],
"ter-indent": [true, "tab", { "SwitchCase": 1 }],
"no-bitwise": true,
"no-consecutive-blank-lines": [true],
"no-trailing-whitespace": true,
"object-curly-spacing": [true, "always"],
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-sort-keys": false,
"object-literal-shorthand": true,
"quotemark": [true, "single", "avoid-escape"],
"semicolon": [true, "always"],
"comment-format": [true, "check-lowercase", { "ignore-words": ["TODO", "HACK"] }],
"ter-arrow-body-style": [true, "as-needed"],
"ter-arrow-parens": [true, "as-needed"],
"ter-arrow-spacing": [true],
"ter-prefer-arrow-callback": [true],
"only-arrow-functions": [true, "allow-named-functions"],
"no-conditional-assignment": true,
"no-duplicate-case": true,
"valid-typeof": true,
"switch-default": true,
"no-eval": true,
"no-duplicate-variable": true,
"no-use-before-declare": true,
"ter-max-len": [false],
"max-line-length": [false],
"no-var-keyword": true,
"prefer-const": true,
"no-for-in-array": true,
"no-angle-bracket-type-assertion": true,
"no-var-requires": false,
"class-name": true,
"one-variable-per-declaration": [true],
"ordered-imports": [true],
"prefer-for-of": true,
"use-isnan": true,
"array-type": [true],
"interface-name": [true, "never-prefix"],
"radix": false,
"typedef": [
"parameter",
"arrow-parameter",
"call-signature",
"member-variable-declaration",
"property-declaration",
"variable-declaration"
],
"no-inferrable-types": [false]
}
}