-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtslint.json
More file actions
executable file
·41 lines (41 loc) · 845 Bytes
/
tslint.json
File metadata and controls
executable file
·41 lines (41 loc) · 845 Bytes
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
{
"defaultSeverity": "warning",
"rulesDirectory": [
"tslint-plugin-prettier"
],
"extends": [
"tslint-config-standard",
"tslint-config-prettier",
"tslint-react"
],
"plugins": [
"react"
],
"rules": {
"react/require-default-props": 0,
"react/no-children-prop": 0,
"react/jsx-indent": ["error", 2],
"react/jsx-indent-props": ["error", 2],
"react/jsx-filename-extension": 0,
"jsx-alignment": true,
"jsx-no-bind": true,
"jsx-no-string-ref": true,
"jsx-no-multiline-js": false,
"jsx-self-close": true,
"jsx-wrap-multiline": true,
"jsx-boolean-value": false,
"prettier": [
true,
{
"singleQuote": true,
"semi": false
}
]
},
"linterOptions": {
"exclude": [
"config/**/*.js",
"node_modules/**/*.ts"
]
}
}