-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
40 lines (40 loc) · 1.16 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
{
"extends": "tslint:recommended",
"rulesDirectory": ["pages", "client"],
"defaultSeverity": "error",
"rules": {
"typedef-whitespace": false,
"no-duplicate-imports": true,
"import-spacing": true,
"ordered-imports": false,
"no-var-keyword": true,
"whitespace": true,
"member-access": false,
"one-line": false,
"no-console": false,
"no-debugger": false,
"no-shadowed-variable": false,
"object-literal-sort-keys": false,
"indent": [true, "spaces", 2],
"quotemark": [true, "single", "jsx-double", "avoid-escape"],
"semicolon": [true, "never", "ignore-interfaces"],
"no-consecutive-blank-lines": [true, 3],
"max-line-length": [true, 120],
"linebreak-style": [true, "CR/LF"],
"space-before-function-paren": [true, "asyncArrow"],
"align": [true, "parameters", "statements", "members", "elements"],
"arrow-parens": [true, "ban-single-arg-parens"],
"trailing-comma": [
true,
{
"multiline": {
"objects": "ignore",
"arrays": "never",
"functions": "never",
"typeLiterals": "ignore"
},
"esSpecCompliant": false
}
],
}
}