-
Notifications
You must be signed in to change notification settings - Fork 2
/
tslint.json
40 lines (40 loc) · 1.11 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
{
"extends": "tslint-config-airbnb",
"rules": {
"ter-arrow-parens": [true, "as-needed"],
"import-name": false,
"object-shorthand-properties-first": false,
"variable-name": [
true,
"allow-leading-underscore",
"ban-keywords",
"check-format",
"allow-pascal-case"
],
"semicolon": [true, "always", "ignore-bound-class-methods"],
"max-line-length": false,
"ter-indent": false,
"no-parameter-reassignment": false,
"no-increment-decrement": false,
"no-else-after-return": false,
"align": false,
"ter-func-call-spacing": false,
"ter-computed-property-spacing": false,
"space-before-function-paren": false,
"no-unused-variable": true,
"brace-style": false,
"function-name": [
true,
{
"function-regex": "^_?[a-z$][\\w\\d]+$",
"method-regex": "^(UNSAFE)?_?[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]+$"
}
]
},
"linterOptions": {
"exclude": ["**/*.json"]
}
}