-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
58 lines (58 loc) · 1.79 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"jsRules": {},
"rules": {
"arrow-return-shorthand": true,
"class-name": true,
"comment-format": [true, "check-space"],
"curly": [true, "ignore-same-line"],
"eofline": true,
"indent": [true, "spaces", 2],
"max-line-length": [true, 120],
"member-ordering": [
false,
{
"order": "statics-first",
"alphabetize": false
}
],
"newline-before-return": true,
"no-consecutive-blank-lines": [true, 1],
"no-console": [true, "log", "error"],
"no-construct": true,
"no-duplicate-imports": [true, { "allow-namespace-imports": true }],
"no-duplicate-super": true,
"no-duplicate-variable": [true, "check-parameters"],
"no-trailing-whitespace": true,
"no-unnecessary-callback-wrapper": true,
"no-unused-expression": true,
"no-unused-variable": true,
"no-var-keyword": true,
"no-var-requires": true,
"object-literal-sort-keys": false,
"prefer-const": true,
"quotemark": [true, "single", "avoid-escape"],
"semicolon": [true, "always", "ignore-bound-class-methods"],
"space-before-function-paren": [true, "always"],
"trailing-comma": [
true,
{
"multiline": "always",
"singleline": "never"
}
],
"typedef-whitespace": true,
"variable-name": {
"options": [
"ban-keywords",
"check-format",
"allow-leading-underscore",
"allow-pascal-case"
]
}
},
"rulesDirectory": "./src"
}