Skip to content

Commit be52975

Browse files
committed
more linter rules
1 parent 106b733 commit be52975

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

tslint.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,48 @@
3333
],
3434
"no-console": [
3535
false
36+
],
37+
"typedef": [
38+
true,
39+
"call-signature",
40+
"parameter",
41+
"member-variable-declaration",
42+
"arrow-parameter",
43+
"property-declaration",
44+
"variable-declaration"
45+
],
46+
"no-magic-numbers": [
47+
true
48+
],
49+
"no-reference": true,
50+
"curly": true,
51+
"no-string-literal": true,
52+
"no-string-throw": true,
53+
"no-var-keyword": true,
54+
"switch-default": true,
55+
"triple-equals": true,
56+
"eofline": true,
57+
"arrow-return-shorthand": true,
58+
"interface-name": [
59+
"always-prefix"
60+
],
61+
"no-consecutive-blank-lines": true,
62+
"object-literal-shorthand": true,
63+
"prefer-template": true,
64+
"align": [
65+
true,
66+
"parameters",
67+
"statements"
68+
],
69+
"no-irregular-whitespace": true,
70+
"no-trailing-whitespace": true,
71+
"semicolon": [
72+
true,
73+
"always"
74+
],
75+
"space-before-function-paren": [
76+
true,
77+
"always"
3678
]
3779
},
3880
"rulesDirectory": []

0 commit comments

Comments
 (0)