Skip to content

Commit 4fba18e

Browse files
author
hirsch88
committed
Adjust tslint to frontend boilerplate
1 parent 21e4c5b commit 4fba18e

File tree

1 file changed

+52
-1
lines changed

1 file changed

+52
-1
lines changed

tslint.json

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"ordered-imports": false,
2121
"object-literal-sort-keys": false,
2222
"arrow-parens": false,
23-
"no-string-literal": false,
2423
"member-ordering": [
2524
true,
2625
{
@@ -72,6 +71,58 @@
7271
},
7372
"singleline": "never"
7473
}
74+
],
75+
"align": [
76+
true,
77+
"parameters"
78+
],
79+
"class-name": true,
80+
"curly": true,
81+
"eofline": true,
82+
"jsdoc-format": true,
83+
"member-access": true,
84+
"no-arg": true,
85+
"no-construct": true,
86+
"no-duplicate-variable": true,
87+
"no-empty": true,
88+
"no-eval": true,
89+
"no-internal-module": true,
90+
"no-string-literal": true,
91+
"no-trailing-whitespace": true,
92+
"no-unused-expression": true,
93+
"no-var-keyword": true,
94+
"one-line": [
95+
true,
96+
"check-open-brace",
97+
"check-catch",
98+
"check-else",
99+
"check-finally",
100+
"check-whitespace"
101+
],
102+
"semicolon": true,
103+
"switch-default": true,
104+
"triple-equals": [
105+
true,
106+
"allow-null-check"
107+
],
108+
"typedef-whitespace": [
109+
true,
110+
{
111+
"call-signature": "nospace",
112+
"index-signature": "nospace",
113+
"parameter": "nospace",
114+
"property-declaration": "nospace",
115+
"variable-declaration": "nospace"
116+
}
117+
],
118+
"variable-name": false,
119+
"whitespace": [
120+
true,
121+
"check-branch",
122+
"check-decl",
123+
"check-operator",
124+
"check-separator",
125+
"check-type"
75126
]
76127
}
77128
}

0 commit comments

Comments
 (0)