This repository was archived by the owner on Apr 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
80 lines (79 loc) · 1.86 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
{
"extends": [
"tslint:latest",
"tslint-eslint-rules"
],
"rulesDirectory": [
"node_modules/tslint-microsoft-contrib"
],
"linterOptions": {
"format": "stylish",
"exclude": [
"**/*.json",
"**/*.js",
"**/*.d.ts",
"./build"
]
},
"rules": {
/* tslint https://palantir.github.io/tslint/rules/ */
"array-type": {
"options": ["generic"]
},
"arrow-parens": false,
"await-promise": true,
"cyclomatic-complexity": {
"options": [15]
},
"deprecation": true,
"max-classes-per-file": {
"options": [10]
},
"max-file-line-count": {
"options": [666]
},
"max-line-length": false,
"member-access": {
"options": ["check-accessor", "check-constructor"]
},
"member-ordering": {
"options": {
"order": "fields-first"
}
},
"no-any": true,
"no-consecutive-blank-lines": {
"options": [1]
},
"no-debugger": true,
"no-implicit-dependencies": false,
"no-invalid-this": true,
"no-parameter-properties": true,
"no-submodule-imports": false,
"no-trailing-whitespace": true,
"no-var-requires": false,
"prefer-readonly": true,
"prefer-template": {
"options": ["allow-single-concat"]
},
"object-literal-sort-keys": false,
"only-arrow-functions": true,
"ordered-imports": false,
"trailing-comma": false,
"triple-equals": true,
"variable-name": {
"options": ["ban-keywords", "check-format", "allow-leading-underscore", "allow-pascal-case"]
},
/* tslint-eslint-rules https://github.com/buzinas/tslint-eslint-rules */
"no-multi-spaces": true,
"object-curly-spacing": {
"options": ["always"]
},
"ter-arrow-parens": {
"options": ["as-needed"]
},
"ter-max-len": {
"options": [160]
}
}
}