-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtslint.json
More file actions
26 lines (26 loc) · 932 Bytes
/
tslint.json
File metadata and controls
26 lines (26 loc) · 932 Bytes
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
{
"extends": ["./tslint.angularcli.json", "tslint-config-prettier"],
"rules": {
// the same as tslint:recommended, but without "Function"
"ban-types": {
"options": [
["Object", "Avoid using the `Object` type. Did you mean `object`?"],
["Boolean", "Avoid using the `Boolean` type. Did you mean `boolean`?"],
["Number", "Avoid using the `Number` type. Did you mean `number`?"],
["String", "Avoid using the `String` type. Did you mean `string`?"],
["Symbol", "Avoid using the `Symbol` type. Did you mean `symbol`?"]
]
},
"no-any": { "severity": "warning" },
"no-non-null-assertion": { "severity": "warning" },
// the same as tslint:recommended, but with "allow-leading-underscore"
"variable-name": {
"options": [
"ban-keywords",
"check-format",
"allow-pascal-case",
"allow-leading-underscore"
]
}
}
}