forked from terascope/teraslice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
45 lines (45 loc) · 1.18 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
{
"defaultSeverity": "error",
"extends": [
"tslint-config-airbnb"
],
"rules": {
"align": [
true,
"parameters",
"members",
"elements"
],
"object-shorthand-properties-first": false,
"indent": [ true, "spaces" ],
"ter-indent": [ true, 4, { "SwitchCase": 1 }],
"ter-func-call-spacing": [true, "never", { "allowNewlines": true }],
"ter-arrow-parens": false,
"semicolon": [true, "always"],
"no-unused-variable": false,
"import-name": false,
"max-line-length": [ true, 200 ],
"no-debugger": true,
"trailing-comma": false,
"comma-dangle": false,
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore",
"allow-pascal-case"
],
"function-name": [
true,
{
"function-regex": "^[_]?[a-z][\\w\\d]+$",
"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]+$"
}
],
"no-console": [true, "log", "info", "dir", "count", "time", "timeEnd"],
"no-increment-decrement": false
}
}