-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
36 lines (36 loc) · 1013 Bytes
/
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
{
"extends": "tslint-microsoft-contrib",
"rules": {
"no-import-side-effect": false,
"linebreak-style": [true, "CRLF"],
"missing-jsdoc": false,
"no-console": {
"severity": "warning"
},
"typedef": [true, "parameter", "property-declaration"],
"align": false,
"interface-name": [true, "never-prefix"],
"function-name": [
true,
{
"method-regex": "^[a-z][\\w\\d]+$",
"private-method-regex": "^[a-z][\\w\\d]+$",
"protected-method-regex": "^[a-z][\\w\\d]+$",
"static-method-regex": "^[a-z][\\w\\d]+$",
"function-regex": "^[A-Za-z][\\w\\d]+$"
}
],
"variable-name": [
true,
"check-format",
"allow-leading-underscore",
"ban-keywords"
],
"no-suspicious-comment": false,
"quotemark": [true, "single", "avoid-escape", "avoid-template"],
"no-multiline-string": false,
"no-relative-imports": false,
"no-any": false,
"no-backbone-get-set-outside-model": false
}
}