-
Notifications
You must be signed in to change notification settings - Fork 1
/
tslint.json
28 lines (28 loc) · 874 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
{
"extends": ["tslint:recommended", "tslint-react", "tslint-config-prettier"],
"linterOptions": {
"exclude": ["node_modules/**/*.ts"]
},
"rules": {
"interface-name": [true, "never-prefix"],
"no-console": false,
"object-literal-sort-keys": false,
"prefer-const": true,
"prettier": true,
"prefer-function-over-method": true,
"prefer-object-spread": true,
"prefer-readonly": true,
"prefer-template": true,
"variable-name": [true, "allow-pascal-case", "ban-keywords", "check-format"],
"interface-over-type-literal": true,
"no-empty-interface": false,
"no-for-in-array": true,
"no-inferrable-types": true,
"no-invalid-template-strings": true,
"no-return-await": true,
"no-shadowed-variable": false,
"no-string-throw": true,
"no-var-keyword": true,
"arrow-return-shorthand": [true]
}
}