-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtslint.json
48 lines (48 loc) · 1.03 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"rulesDirectory": ["tslint-plugin-prettier"],
"extends": ["tslint-config-airbnb", "tslint-react", "tslint-immutable/all", "tslint-config-prettier"],
"linterOptions": {
"exclude": [
"config/**/*.js",
"node_modules/**/*.ts",
"coverage/**/*.js"
]
},
"rules": {
"prettier": true,
"import-name": false,
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-pascal-case"
],
"arrow-return-shorthand": [
true,
"multiline"
],
"no-this": false,
"no-class": false,
"no-mixed-interface": false,
"no-expression-statement": [
false,
{
"ignore-prefix": [
"console.log",
"console.info",
"console.warn",
"console.error",
"console.count",
"console.table",
"console.group",
"console.groupEnd",
"console.time",
"console.timeEnd",
"console.trace",
"yield"
]
}
],
"no-if-statement": false
}
}