-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtslint.json
More file actions
22 lines (21 loc) · 749 Bytes
/
tslint.json
File metadata and controls
22 lines (21 loc) · 749 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended",
"tslint-eslint-rules"
],
"jsRules": {},
"rules": {
"array-type": [true, "array"],
"curly": [true, "ignore-same-line"],
"member-access": [true, "no-public"],
"object-literal-sort-keys": false,
"ordered-imports": [true, {"import-sources-order": "any", "named-imports-order": "lowercase-first"}],
"quotemark": [true, "single"],
"trailing-comma": [true, {"esSpecCompliant": true}],
/* replace `tslint` rule with `eslint` */
"arrow-parens": false, // tslint
"ter-arrow-parens": [true, "as-needed", {"requireForBlockBody": true}] // eslint
},
"rulesDirectory": []
}