-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
32 lines (32 loc) · 1.16 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
{
"extends": "tslint:latest",
"rules": {
"quotemark": [false, "single", "jsx-double"],
"indent": [true, "spaces", 2],
"ordered-imports": false,
"trailing-comma": [true],
"ban-types": {
"options": [
["Object", "Avoid using the `Object` type. Did you mean `object`?"],
[
"Function",
"Avoid using the `Function` type. Prefer a specific function type, like `() => void`, or use `ts.AnyFunction`."
],
["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`?"]
]
},
"no-submodule-imports": false,
"object-literal-sort-keys": false,
"arrow-parens": [true, "ban-single-arg-parens"],
"semicolon": [true, "always", "ignore-bound-class-methods"],
"object-literal-key-quotes": false,
"no-console": [true, "log"],
"member-access": [true, "no-public"],
"max-classes-per-file": [true, 5, "exclude-class-expressions"]
},
"linterOptions": {
"exclude": ["api/generated/prisma/*", "*/__tests__/*"]
}
}