Add new tslint rules (class-name, ordered-imports) and fix errors

This commit is contained in:
Farkas József
2016-09-01 22:20:21 +02:00
parent 934e02d7e1
commit df79c1aaea
63 changed files with 156 additions and 134 deletions

View File

@@ -8,6 +8,7 @@
],
"no-inferrable-types": true,
"no-internal-module": true,
"class-name": true,
"curly": true,
"no-construct": true,
"no-duplicate-key": true,
@@ -22,7 +23,9 @@
"no-unused-variable": [
true,
"check-parameters",
{"ignore-pattern": "assert.*|keyActionType"}
{
"ignore-pattern": "assert.*|keyActionType"
}
],
"no-use-before-declare": true,
"no-var-keyword": true,
@@ -40,7 +43,8 @@
],
"no-trailing-whitespace": true,
"trailing-comma": [
true, {
true,
{
"multiline": "never",
"singleline": "never"
}
@@ -62,7 +66,12 @@
"check-open-brace",
"check-whitespace"
],
"ordered-imports": [
true,
{
"named-imports-order": "lowercase-last"
}
],
"quotemark": [
true,
"single"