forked from streamich/react-use
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
45 lines (45 loc) · 1013 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
38
39
40
41
42
43
44
45
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended",
"tslint-react",
"tslint-eslint-rules",
"tslint-config-prettier"
],
"linterOptions": {
"exclude": ["node_modules/**"]
},
"jsRules": {},
"rules": {
"ban-types": false,
"interface-name": [true, "never-prefix"],
"no-console": false,
"max-classes-per-file": false,
"no-any": false,
"no-empty": false,
"prefer-for-of": false,
"jsx-no-lambda": [false],
"no-empty-interface": [false],
"object-literal-sort-keys": false,
"no-unused-expression": false,
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-pascal-case",
"allow-leading-underscore",
"allow-trailing-underscore"
],
"prettier": [
true,
{
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 120,
"tabWidth": 2
}
],
"ordered-imports": false
},
"rulesDirectory": ["tslint-plugin-prettier"]
}