-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
137 lines (137 loc) · 4.06 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"jsRules": {},
"rules": {
"adjacent-overload-signatures": true,
"member-access": [true, "no-public"],
"member-ordering": [
true,
{
"order": [
"public-static-field",
"public-instance-field",
"private-static-field",
"private-instance-field",
"public-constructor",
"private-constructor",
"public-instance-method",
"protected-instance-method",
"private-instance-method"
]
}
],
"no-empty-interface": true,
"no-inferrable-types": true,
"no-non-null-assertion": true,
"no-parameter-reassignment": true,
"no-reference": true,
"only-arrow-functions": [true, "allow-named-functions"],
"prefer-for-of": true,
"promise-function-async": true,
"await-promise": true,
"ban-comma-operator": true,
"curly": [true, "ignore-same-line"],
"forin": true,
"no-arg": true,
"no-bitwise": true,
"no-conditional-assignment": true,
"no-console": [true, "log", "error"],
"no-construct": true,
"no-debugger": true,
"no-duplicate-super": true,
"no-duplicate-switch-case": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-eval": true,
"no-floating-promises": true,
"no-for-in-array": true,
"no-implicit-dependencies": true,
"no-invalid-template-strings": true,
"no-invalid-this": true,
"no-misused-new": true,
"no-return-await": true,
"no-shadowed-variable": true,
"no-sparse-arrays": true,
"no-string-literal": true,
"no-string-throw": true,
"no-switch-case-fall-through": true,
"no-this-assignment": true,
"no-unnecessary-class": [
true,
"allow-empty-class",
"allow-constructor-only",
"allow-static-only"
],
"no-unused-expression": true,
"no-var-keyword": true,
"prefer-object-spread": true,
"switch-default": true,
"triple-equals": [true, "allow-null-check"],
"use-isnan": true,
"cyclomatic-complexity": [true, 15],
"deprecation": true,
"eofline": true,
"indent": [true, "spaces", 2],
"linebreak-style": [true, "LF"],
"no-default-export": true,
"prefer-const": true,
"array-type": [true, "array"],
"arrow-parens": [true, "ban-single-arg-parens"],
"arrow-return-shorthand": true,
"class-name": true,
"encoding": true,
"comment-format": [true, "check-space"],
"import-spacing": true,
"newline-before-return": true,
"newline-per-chained-call": true,
"new-parens": true,
"no-angle-bracket-type-assertion": true,
"no-irregular-whitespace": true,
"no-reference-import": true,
"no-unnecessary-callback-wrapper": true,
"no-consecutive-blank-lines": true,
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-shorthand": true,
"one-line": [
true,
"check-catch",
"check-finally",
"check-else",
"check-open-brace",
"check-whitespace"
],
"number-literal-format": true,
"whitespace": [
true,
"check-branch",
"check-operator",
"check-typecast",
"check-decl",
"check-module",
"check-separator",
"check-rest-spread",
"check-type"
],
"type-literal-delimiter": true,
"space-before-function-paren": [
true,
{
"anonymous": "always",
"named": "never",
"method": "never",
"constructor": "never",
"asyncArrow": "always"
}
],
"semicolon": [true, "never"],
"quotemark": [true, "single"],
"prefer-template": true,
"prefer-method-signature": true,
"one-variable-per-declaration": true,
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"]
},
"rulesDirectory": []
}