forked from NervJS/at-ui-nerv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
76 lines (76 loc) · 1.47 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"defaultSeverity": "warning",
"extends": [
"tslint:latest",
"tslint-react"
],
"rules": {
"ban-types": false,
"forin": false,
"interface-name": [
false
],
"jsx-alignment": true,
"jsx-boolean-value": false,
"jsx-no-lambda": false,
"jsx-no-multiline-js": false,
"jsx-self-close": true,
"jsx-wrap-multiline": false,
"member-access": false,
"no-bitwise": false,
"no-console": [
false,
"error"
],
"no-implicit-dependencies": false,
"no-namespace": [
true,
"allow-declarations"
],
"no-object-literal-type-assertion": false,
"no-string-literal": false,
"no-unused-expression": false,
"no-unused-expressions": [
"error",
{
"allowShortCircuit": true,
"allowTernary": true
}
],
"object-literal-key-quotes": [
false,
"as-needed"
],
"object-literal-sort-keys": false,
"one-variable-per-declaration": [
false
],
"ordered-imports": [
false
],
"prefer-for-of": false,
"quotemark": [
true,
"single",
"avoid-escape"
],
"semicolon": [
true,
"never"
],
"space-before-function-paren": true,
"trailing-comma": [
true,
{
"multiline": "never",
"singleline": "never"
}
],
"variable-name": [
true,
"allow-leading-underscore",
"ban-keywords"
],
"max-classes-per-file": false
}
}