-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtslint.json
31 lines (31 loc) · 970 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
{
"linterOptions": {"exclude": ["test/**"]},
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint-plugin-prettier", "tslint-config-prettier"],
"rules": {
"max-line-length": [true, { "limit": 120, "ignore-pattern": "\".*\"" }],
"no-empty-interface": false,
"quotemark": [true, "single", "avoid-escape", "jsx-double"],
"object-literal-sort-keys": false,
"prefer-const": true,
"ordered-imports": false,
"member-access": true,
"member-ordering": [true, {"order": "statics-first"}],
"semicolon": [true, "always", "ignore-bound-class-methods"],
"arrow-parens": [true, "ban-single-arg-parens"],
"trailing-comma": [
true,
{
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "never",
"typeLiterals": "ignore"
},
"esSpecCompliant": true
}
],
"max-classes-per-file": false
},
"rulesDirectory": []
}