-
Notifications
You must be signed in to change notification settings - Fork 4
/
tslint.json
33 lines (33 loc) · 1.06 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
{
"extends": ["tslint:recommended", "tslint-config-prettier"],
"rulesDirectory": ["tslint-plugin-prettier"],
"rules": {
"prettier": true,
"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-console": false,
"interface-name": false,
"max-classes-per-file": false,
"object-literal-sort-keys": false,
"ordered-imports": [
true,
{
"import-sources-order": "lowercase-first",
"named-imports-order": "lowercase-first"
}
],
"variable-name": {
"options": ["allow-leading-underscore", "allow-pascal-case", "ban-keywords", "check-format"]
}
},
"linterOptions": {
"exclude": ["node_modules/**", "dist/**"]
}
}