-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtslint.json
54 lines (54 loc) · 1.25 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
{
"lintOptions" : {
"typeCheck" : true
},
"extends" : "tslint:recommended",
"rules" : {
"no-trailing-whitespace": [true, "ignore-comments"],
"no-empty": false,
"max-line-length": [true, 140],
"quotemark" : [
true,
"single",
"avoid-escape"
],
"one-line" : [
true,
"check-whitespace"
],
"variable-name" : [
true,
"check-format",
"allow-pascal-case",
"allow-leading-underscore"
],
"indent" : [true, "spaces", 2],
"linebreak-style" : [true, "LF"],
"align" : [
"parameters",
"arguments",
"statements"
],
"newline-before-return" : false,
"new-parens" : true,
"return-undefined" : true,
"semicolon" : [true, "always"],
"no-floating-promises" : true,
"no-invalid-template-strings" : true,
"no-invalid-this" : true,
"no-misused-new" : true,
"no-return-await": true,
"no-switch-case-fall-through" : true,
"switch-default" : true,
"restrict-plus-operands" : true,
"no-string-literal" : false,
"prefer-for-of" : false,
"strict-boolean-expressions" : true,
"object-literal-sort-keys" : false,
"interface-name" : [
true,
"never-prefix"
],
"import-spacing": false
}
}