forked from ldapts/ldapts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
35 lines (35 loc) · 990 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
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended",
"tslint-config-airbnb"
],
"linterOptions": {
"exclude": [
"node_modules/**"
]
},
"rules": {
"align": false,
"array-type": [true, "array"],
"arrow-parens": true,
"ter-arrow-parens": [true, "always"],
"quotemark": [true, "single"],
"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-z][\\w\\d]+$$",
"function-regex": "^[a-z][\\w\\d]+$"
}],
"indent": [true, "spaces", 2],
"interface-name": false,
"max-line-length": false,
"ordered-imports": false,
"object-literal-sort-keys": false,
"object-shorthand-properties-first": false,
"no-consecutive-blank-lines": false,
"prefer-array-literal": false,
"variable-name": [true, "check-format", "allow-leading-underscore"]
}
}