-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtslint.json
More file actions
85 lines (85 loc) · 1.93 KB
/
tslint.json
File metadata and controls
85 lines (85 loc) · 1.93 KB
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
{
/*
* 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-config-airbnb"
],
"rules": {
/*
* Any rules specified here will override those from the base config we are extending.
*/
"quotemark": [
true,
"single",
"jsx-single",
"avoid-escape"
],
"variable-name": false,
"no-string-literal": false,
"space-before-function-paren": [
true,
{
"anonymous":"never",
"named":"never",
"asyncArrow":"always",
"method":"never",
"constructor":"never"
}
],
"object-curly-spacing": true,
"interface-name": [
true,
"never-prefix"
],
"import-name": false,
"no-inferred-empty-object-type": true,
"no-floating-promises": true,
"no-for-in-array": true,
"no-misused-new": true,
"no-void-expression": true,
"await-promise": true,
"no-namespace": true,
"no-internal-module": true,
"no-var-requires": true,
"member-access": [
true,
"check-accessor"
],
"adjacent-overload-signatures": true,
"member-ordering": [
true,
{
"order": [
"static-field",
"instance-field",
"constructor",
"public-instance-method",
"protected-instance-method",
"private-instance-method"
]
}
],
"max-line-length": [
true,
125
],
"no-increment-decrement": false,
"align": []
},
"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.
*/
]
}