-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
35 lines (35 loc) · 1.19 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
31
32
33
34
35
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"jsRules": {},
"rules": {
"no-bitwise": false,
"no-unused-expression": [true, "allow-fast-null-checks"],
"member-access": false,
"object-literal-sort-keys": false,
"no-consecutive-blank-lines": [true, 2],
"no-var-requires": false,
"space-before-function-paren": [false, "anonymous"],
"trailing-comma": false,
"only-arrow-functions": false,
"interface-name": false,
"arrow-parens": false,
"no-namespace": [true, "allow-declarations"],
"max-line-length": [true, {"limit": 120, "ignore-pattern": "^import |^export {(.*?)} | ([\"'])((\\\\{2})*|(.*?[^\\\\](\\\\{2})*))\\1"}],
"max-classes-per-file": [true, 1, "exclude-class-expressions"],
"quotemark": {
"options": [
"single",
"avoid-escape"
]
},
"object-literal-key-quotes": [true, "as-needed"],
"one-variable-per-declaration": false,
"object-literal-shorthand": false,
"cyclomatic-complexity": [true, 20],
"eofline": true
},
"rulesDirectory": []
}