-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
30 lines (30 loc) · 1.22 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
{
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint-config-airbnb"],
"jsRules": {},
"rules": {
"max-line-length": [true, 120],
"encoding": true,
"indent": [true, "spaces", 4],
"ter-indent": false,
"ter-arrow-parens": false,
"interface-name": [true, "never-prefix"],
"object-literal-sort-keys": [false],
"no-empty": [true, "allow-empty-functions"],
"arrow-parens": [true, "ban-single-arg-parens"],
"array-type": [true, "array-simple"],
"prefer-array-literal": false,
"no-bitwise": false,
"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\\.]*\\]?$"
}],
"variable-name": [true, "ban-keywords", "check-format", "allow-pascal-case"],
"member-ordering": [true, {"order": "instance-sandwich"}],
"max-classes-per-file": false
},
"rulesDirectory": []
}