-
Notifications
You must be signed in to change notification settings - Fork 40
/
tslint.json
78 lines (78 loc) · 2.09 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
{
"extends": "tslint-microsoft-contrib",
"rules": {
"file-header": [
false,
{
"match": "Copyright \\d{4}",
"allow-single-line-comments": true,
"default": "Copyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the MIT License. See License.txt in the project root for license information.",
"enforce-trailing-newline": true
}
],
"await-promise": [
true,
"Thenable"
],
"no-increment-decrement": false,
"strict-boolean-expressions": [
true,
"allow-string",
"allow-undefined-union",
"allow-null-union",
"allow-mix"
],
"completed-docs": [
false,
"classes"
],
"function-name": [
true,
{
"static-method-regex": "^[a-z][a-zA-Z_\\d]+$"
}
],
"import-name": false,
"max-line-length": [
false,
140
],
"missing-jsdoc": false,
"no-backbone-get-set-outside-model": false,
"no-multiline-string": false,
"no-single-line-block-comment": false,
"no-parameter-properties": false,
"no-relative-imports": false,
"no-require-imports": false,
"no-void-expression": [
false,
"ignore-arrow-function-shorthand"
],
"typedef": [
true,
"call-signature",
"parameter",
"property-declaration",
"member-variable-declaration"
],
"variable-name": [
true,
"allow-leading-underscore",
"ban-keywords"
],
"linebreak-style": false,
"newline-before-return": false,
"quotemark": [
false,
"single"
],
"radix": false,
"no-use-before-declare": false
},
"linterOptions": {
"exclude": [
"src/test/**",
"**/*.d.ts"
]
}
}