-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
76 lines (76 loc) · 2.14 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
{
/*
* Possible values:
* - the name of a built-in config
* - the name of an NPM module which has a "main" file that exports a config object
* - a relative path to a JSON file
*/
"extends": [
"tslint:latest",
"tslint-react"
],
"rules": {
/*
* Any rules specified here will override those from the base config we are extending
*/
"no-parameter-properties": true,
"no-empty-interface": false,
"interface-name": false,
"no-reference": false,
"no-console": false,
"no-var-requires": false,
"no-string-literal": false,
"object-literal-sort-keys": false,
"object-literal-key-quotes": false,
"prefer-for-of": false,
"max-line-length": [
true,
150
],
"ordered-imports": false,
"jsx-no-string-ref": false,
"typedef-whitespace": [
true,
{
"call-signature": "space",
"index-signature": "space",
"parameter": "space",
"property-declaration": "space",
"variable-declaration": "space"
},
{
"call-signature": "space",
"index-signature": "space",
"parameter": "space",
"property-declaration": "space",
"variable-declaration": "space"
}
],
"whitespace": [
"check-branch",
"check-decl",
"check-module",
"check-separator",
"check-type"
],
"jsx-no-lambda": true,
"jsx-no-multiline-js": false,
"jsx-wrap-multiline": false,
"array-type": "Array",
"trailing-comma": [
false
]
},
"jsRules": {
/*
* Any rules specified here will override those from the base config we are extending.
*/
"curly": true
},
"rulesDirectory": [
/*
* A list of relative or absolute paths to directories that contain custom rules.
* See the Custom Rules documentation below for more details.
*/
]
}