-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
50 lines (50 loc) · 1.12 KB
/
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
46
47
48
49
50
{
"rules": {
"eofline": false,
"no-console": [
false
],
"object-literal-sort-keys": false,
"declare-class-methods-after-use": true,
"jsx-attribute-spacing": true,
"jsx-expression-spacing": true,
"jsx-no-braces-for-string-attributes": true,
"jsx-no-closing-bracket-newline": true,
"react-lifecycle-order": true,
"sort-imports": true,
"prefer-or-operator-over-ternary": true,
"camel-case-local-functions": true,
"no-debugger": true,
"no-unnecessary-bind": true,
"no-unnecessary-local-variable": true,
"no-unnecessary-semicolons": true,
"prefer-array-literal": true,
"prefer-const": true,
"react-unused-props-and-state": true,
"no-empty": false,
"object-literal-shorthand": true,
"jsx-wrap-multiline": true,
"trailing-comma": [
true,
{
"multiline": "always"
}
],
"semicolon": [
true
],
"indent": [
true,
"tabs"
],
"quotemark": [
true,
"single"
]
},
"rulesDirectory": [
"./node_modules/tslint-misc-rules/rules",
"./node_modules/tslint-react/rules",
"./node_modules/tslint-microsoft-contrib"
]
}