-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtslint.json
55 lines (55 loc) · 1.28 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
{
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint-react", "tslint-config-prettier"],
"linterOptions": {
"exclude": [
"config/**/*.js",
"node_modules/**/*.ts",
"coverage/lcov-report/*.js"
]
},
"rules": {
"ordered-imports": [
true,
{
"import-sources-order": "any",
"named-imports-order": "any"
}
],
"object-literal-sort-keys": false,
"interface-name": [
true,
"never-prefix"
],
"indent": [true, "spaces", 2],
"max-line-length": [true, 120],
"no-consecutive-blank-lines": true,
"no-empty-interface": false,
"jsx-boolean-value": false,
"member-access": false,
"array-type": [true, "array"],
"semicolon": [true, "always", "strict-bound-class-methods"],
"trailing-comma": [
true,
{
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "never",
"typeLiterals": "always"
},
"esSpecCompliant": true
}
],
"whitespace": [
true,
"check-branch",
"check-operator",
"check-type",
"check-typecast",
"check-type-operator",
"check-preblock"
],
"quotemark": [true, "double", "avoid-escape", "avoid-template"]
}
}