-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
30 lines (30 loc) · 877 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
{
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint-config-airbnb"],
"jsRules": {},
"rules": {
"no-namespace": false,
"no-increment-decrement": false,
"no-parameter-reassignment": false,
"interface-name": false,
"prefer-array-literal": false,
"quotemark": [true, "double"],
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore"
],
"function-name": [
true,
{
"method-regex": "^\\*?\\[?[a-zA-Z][\\w\\d\\.]*\\]?$",
"private-method-regex": "^\\*?\\[?_?[a-zA-Z][\\w\\d\\.]*\\]?$",
"protected-method-regex": "^\\*?\\[?_?[a-zA-Z][\\w\\d\\.]*\\]?$",
"static-method-regex": "^\\*?\\[?[a-zA-Z][\\w\\d\\.]*\\]?$",
"function-regex": "^\\*?\\[?[a-zA-Z][\\w\\d\\.]*\\]?$"
}
]
},
"rulesDirectory": ["src"]
}