-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
112 lines (112 loc) · 3.07 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"defaultSeverity": "warning",
"extends": [
"tslint:recommended",
"tslint:latest",
"tslint-react"
],
"linterOptions": {
"exclude": [
"node_modules/**/*.ts"
]
},
"jsRules": {},
"rules": {
"eofline": true,
"indent": [
true,
"spaces"
],
"quotemark": [
true,
"single",
"jsx-double"
],
"no-console": [
false
],
"jsx-alignment": [
false
],
"trailing-comma": [
false,
{
"multiline": "never",
"singleline": "never"
}
],
"semicolon": [
false,
"never",
"ignore-interfaces"
],
"jsx-boolean-value": [
"never",
"always"
],
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-snake-case",
"allow-pascal-case",
"allow-leading-underscore",
"allow-trailing-underscore"
],
"member-ordering": [
true,
{
"order": [
"public-static-field",
"public-instance-field",
"public-constructor",
"private-static-field",
"private-instance-field",
"private-constructor",
"public-instance-method",
"protected-instance-method",
"private-instance-method"
]
}
],
"max-line-length": [
true,
{
"limit": 120,
"ignore-pattern": "^critical |^import |^global |^export {(.*?)}"
}
],
"no-unused-expression": [
false,
"allow-fast-null-checks"
],
"no-empty": false,
"no-namespace": false,
"member-access": false,
"array-type": [true, "array"],
"arrow-parens": false,
"no-var-requires": false,
"ordered-imports": false,
"jsx-no-lambda": false,
"jsx-self-close": true,
"interface-name": false,
"no-empty-interface": false,
"jsx-no-string-ref": true,
"jsx-curly-spacing": "always",
"jsx-wrap-multiline": true,
"space-within-parens": false,
"jsx-no-multiline-js": false,
"templates-use-public": false,
"no-shadowed-variable": false,
"no-submodule-imports": false,
"no-import-side-effect": false,
"no-unnecessary-generics": false,
"no-implicit-dependencies": false,
"object-literal-sort-keys": false,
"interface-over-type-literal": false,
"space-before-function-paren": [true, {"anonymous": "always", "named": "always", "asyncArrow": "always"}],
"no-consecutive-blank-lines": [true, 2],
"no-object-literal-type-assertion": false
},
"rulesDirectory": []
}