-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathtslint.json
More file actions
28 lines (28 loc) · 864 Bytes
/
tslint.json
File metadata and controls
28 lines (28 loc) · 864 Bytes
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
{
"extends": ["tslint-config-airbnb", "tslint-config-prettier"],
"rules": {
"import-name": false,
"max-line-length": [false],
"no-object-literal-type-assertion": false,
"no-unused-variable": [true, { "ignore-pattern": "^_" }],
"no-var-requires": false,
"space-before-function-paren": false,
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-pascal-case",
"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\\.]*\\]?$"
}
]
}
}