-
Notifications
You must be signed in to change notification settings - Fork 13
/
tslint.json
35 lines (35 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
31
32
33
34
35
{
"defaultSeverity": "error",
"extends": [],
"jsRules": {},
"rules": {
"indent": [true, "spaces", 4],
"no-default-export": true,
"max-line-length": [true, 120],
"prefer-const": true,
"no-var-keyword": true,
"triple-equals": true,
"typeof-compare": true,
"eofline": true,
"cyclomatic-complexity": true,
"linebreak-style": [true, "LF"],
"no-duplicate-imports": true,
"array-type": [true, "array"],
"class-name": true,
"interface-name": [true, "never-prefix"],
"no-trailing-whitespace": [true, "ignore-comments"],
"quotemark": [true, "double"],
"semicolon": [true, "always"],
"space-before-function-paren": [true, "never"],
"space-within-parens": [true, 0],
"prefer-template": true,
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
"whitespace": [true, "check-branch", "check-operator", "check-typecast"],
"curly": [true, "ignore-same-line"],
"object-curly-spacing": [true, "always"],
"ban-comma-operator": true,
"prefer-for-of": true,
"typedef": [false]
},
"rulesDirectory": []
}