-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
31 lines (30 loc) · 872 Bytes
/
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
{
"defaultSeverity": "warning",
"extends": [
"tslint:recommended"
],
"linterOptions": {
"exclude": ["src/vendor/**/**.vue"]
},
"rules": {
"quotemark": [true, "single"],
"indent": [true, "spaces", 2],
"interface-name": false,
"ordered-imports": false,
"object-literal-sort-keys": false,
"only-arrow-functions":false,
"no-unused-variable": true,
"no-inferrable-types": true,
"no-parameter-reassignment": true,
"promise-function-async": false,
"await-promise": true,
"cyclomatic-complexity": [true, 10],
"array-type": [true, "array"],
"no-consecutive-blank-lines": true,
"newline-before-return": false,
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
"arrow-parens": false,
"member-ordering": [false],
"unified-signatures": false,
}
}