forked from OpenConext/Stepup-tiqr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
40 lines (40 loc) · 981 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
31
32
33
34
35
36
37
38
39
40
{
"extends": [
"tslint:recommended",
"tslint-config-airbnb"
],
"jsRules": {
"object-literal-sort-keys": false
},
"rules": {
"variable-name": [
true,
"allow-leading-underscore",
"ban-keywords"
],
"function-name": [
true,
{
"method-regex": "^[a-z][\\w\\d]+$",
"private-method-regex": "^[a-z][\\w\\d]+$",
"protected-method-regex": "^[a-z][\\w\\d]+$",
"static-method-regex": "^[a-zA-Z_\\d]+$",
"function-regex": "^[a-zA-Z][\\w\\d]+$"
}
],
"semicolon": [true, "always", "ignore-bound-class-methods"],
"import-name": false,
"ordered-imports": false,
"ter-arrow-parens": false,
"object-literal-sort-keys": false,
"object-shorthand-properties-first": false,
"interface-name": ["never-prefix"],
"max-line-length": [150],
"no-duplicate-imports": false,
"cyclomatic-complexity": [
true,
12
]
},
"rulesDirectory": []
}