-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
34 lines (34 loc) · 1 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
{
"defaultSeverity": "warning",
"extends": [
"tslint:recommended"
],
"linterOptions": {
"exclude": [
"node_modules/**"
]
},
"rules": {
"arrow-parens": false,
"array-type": false,
"indent": [true, "spaces", 2],
"interface-name": false,
"member-access": false,
"member-ordering": false,
"no-consecutive-blank-lines": true,
"no-console": false,
"no-duplicate-variable": true,
"no-empty": false,
"no-empty-interface": false,
"no-namespace": [true, "allow-declarations"],
"no-var-requires": false,
"object-literal-sort-keys": false,
"one-variable-per-declaration": [true, "ignore-for-loop"],
"quotemark": [true, "single", "jsx-double"],
"semicolon": [true, "always"],
"trailing-comma": [true, {"multiline": "always", "singleline": "never"}],
"type-literal-delimiter": true,
"variable-name": [true, "allow-leading-underscore"],
"whitespace": [true, "check-branch", "check-decl", "check-operator", "check-module"]
}
}