-
Notifications
You must be signed in to change notification settings - Fork 9
/
tslint.json
37 lines (37 loc) · 900 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
32
33
34
35
36
37
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended",
"tslint-config-airbnb",
"tslint-config-prettier"
],
"jsRules": true,
"rules": {
"ordered-imports": false,
"object-literal-sort-keys": false,
"member-ordering": false,
"import-name": false,
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-pascal-case",
"allow-snake-case"
],
"no-console": false,
"no-unused-expression": [true, "allow-fast-null-checks"],
"interface-name": false,
"member-access": false,
"array-type": [true, "array"] // you have to choose between "array", "generic" and "array-simple", otherwise, tslint will never be satisfied
},
"rulesDirectory": [],
"linterOptions": {
"exclude": [
".next/**",
".vscode/**",
"bin/yarn*",
"coverage/**",
"node_modules/**"
]
}
}