forked from zenghongtu/react-use-chinese
-
Notifications
You must be signed in to change notification settings - Fork 2
/
tslint.json
38 lines (37 loc) · 828 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
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended",
"tslint-react",
"tslint-eslint-rules",
"tslint-config-prettier"
],
"linterOptions": {
"exclude": [
"node_modules/**"
]
},
"jsRules": {},
"rules": {
"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,
"prettier": [
true,
{
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 120,
"tabWidth": 2
}
]
},
"rulesDirectory": ["tslint-plugin-prettier"]
}