-
Notifications
You must be signed in to change notification settings - Fork 24
/
tslint.json
116 lines (113 loc) · 3.71 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"extends": [
"tslint:recommended"
],
"rulesDirectory": "node_modules/tslint-eslint-rules/dist/rules",
"rules": {
"trailing-comma": [true, {"multiline": "always", "singleline": "never"}],
"no-conditional-assignment": true,
"no-console": [true, "dir", "error", "log", "warn"],
"no-debugger": true,
"no-empty": true,
"curly": true,
"switch-default": false,
"triple-equals": true,
"forin": true,
"no-arg": true,
"no-eval": true,
"no-switch-case-fall-through": false,
"no-duplicate-variable": true,
"no-unused-expression": false,
"radix": true,
"no-shadowed-variable": false,
"no-use-before-declare": true,
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore", "allow-trailing-underscore", "allow-pascal-case"],
"max-file-line-count": [false],
"no-consecutive-blank-lines": [true],
"no-trailing-whitespace": true,
"one-variable-per-declaration": [true, "ignore-for-loop"],
"quotemark": [true, "single", "avoid-escape"],
"semicolon": [true, "always"],
"no-var-keyword": true,
"no-magic-numbers": true,
"label-position": true,
"no-bitwise": true,
"no-construct": true,
"max-line-length": [true, 160],
"prefer-const": true,
"cyclomatic-complexity": [true, 11],
"object-literal-key-quotes": [true, "as-needed"],
"no-string-throw": true,
"no-unsafe-finally": true,
"arrow-parens": true,
"comment-format": [true, "check-space"],
"new-parens": true,
"object-literal-shorthand": true,
"ban": [true, ["alert"], ["confirm"], ["prompt"]],
"eofline": true,
"linebreak-style": [true, "LF"],
"adjacent-overload-signatures": true,
"no-empty-interface": true,
"no-namespace": true,
"no-var-requires": true,
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
},
{
"call-signature": "onespace",
"index-signature": "onespace",
"parameter": "onespace",
"property-declaration": "onespace",
"variable-declaration": "onespace"
}
],
"class-name": true,
"use-isnan": true,
"interface-name": [true, "never-prefix"],
"no-angle-bracket-type-assertion": true,
"no-parameter-properties": false,
"no-reference": true,
"indent": [false],
"jsdoc-format": false,
"member-access": false,
"object-literal-sort-keys": false,
"interface-over-type-literal": false,
"ordered-imports": [false],
"member-ordering": [false],
"only-arrow-functions": [false],
"align": [false],
"space-before-function-paren": [true, {
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}],
"no-inner-declarations": [true, "both"],
"no-multi-spaces": [true],
"array-bracket-spacing": [true, "never"],
"block-spacing": [true, "always"],
"brace-style": [true, "1tbs", { "allowSingleLine": true }],
"ter-indent": [true, "tab", { "MemberExpression": 1, "SwitchCase": 1 }],
"object-curly-spacing": [true, "always"],
"ter-arrow-spacing": [true, { "before": true, "after": true }],
"ter-func-call-spacing": [true, "never"],
"no-extra-boolean-cast": true,
"no-constant-condition": true,
"no-control-regex": true,
"no-duplicate-case": true,
"no-empty-character-class": true,
"no-ex-assign": true,
"no-extra-semi": true,
"no-invalid-regexp": true,
"no-irregular-whitespace": true,
"no-regex-spaces": true,
"no-sparse-arrays": true,
"no-unexpected-multiline": true,
"valid-typeof": true
}
}