-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtslint.json
53 lines (53 loc) · 1.37 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
{
"extends": "tslint:recommended",
"rules": {
"max-line-length": {
"options": [120]
},
"new-parens": true,
"no-arg": true,
"no-bitwise": true,
"no-conditional-assignment": true,
"no-consecutive-blank-lines": false,
"no-console": {
"severity": "warning",
"options": [
"debug",
"info",
"log",
"time",
"timeEnd",
"trace"
]
},
"no-empty-interface": true,
"only-arrow-functions": true,
"no-string-throw": true,
"no-unsafe-any": false,
"triple-equals": true,
"eofline": true,
"indent": [true, "spaces", 2],
"max-file-line-count": [true, 500],
"no-default-export": true,
"no-duplicate-imports": true,
"prefer-readonly": true,
"align": [true, "parameters", "statements"],
"class-name": true,
"file-name-casing": true,
"import-spacing": true,
"interface-name": [true, "always-prefix"],
"newline-before-return": true,
"no-irregular-whitespace": true,
"no-trailing-whitespace": true,
"one-line": [true, "check-catch", "check-finally", "check-else"],
"one-variable-per-declaration": [true, "ignore-for-loop"],
"ordered-imports": true,
"semicolon": [true, "never"],
"quotemark": [true, "single", "avoid-escape", "avoid-template"]
},
"jsRules": {
"max-line-length": {
"options": [150]
}
}
}