forked from TRPGEngine/Client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
36 lines (36 loc) · 859 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
{
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint-react", "tslint-config-prettier"],
"jsRules": {
"no-empty": true
},
"rules": {
"no-console": false,
"only-arrow-functions": false,
"jsx-no-lambda": false,
"prefer-for-of": false,
"max-classes-per-file": false,
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore",
"allow-trailing-underscore",
"allow-snake-case",
"allow-pascal-case"
],
"no-empty": false,
"no-empty-interface": false,
"no-unused-expression": [true, "allow-fast-null-checks"],
"no-string-literal": false,
"no-shadowed-variable": false,
"no-var-requires": false
},
"linterOptions": {
"exclude": [
"**/node_modules/**",
"*.d.ts"
]
},
"rulesDirectory": []
}