Update npm packages, cleanup the code, cleanup all tslint complain

This commit is contained in:
Godzil
2017-02-10 17:43:52 +00:00
parent 5d9c25491d
commit bee3f33e20
13 changed files with 751 additions and 389 deletions

View File

@@ -1,4 +1,5 @@
{
"extends": "tslint:latest",
"rules": {
"ban": false,
"class-name": true,
@@ -12,13 +13,13 @@
"interface-name": true,
"jsdoc-format": true,
"label-position": true,
"label-undefined": true,
"max-line-length": [true, 140],
"member-ordering": [true,
"public-before-private",
"static-before-instance",
"variables-before-functions"
],
"array-type": [true, "array"],
"no-any": false,
"no-arg": true,
"no-bitwise": true,
@@ -30,19 +31,14 @@
"trace"
],
"no-construct": true,
"no-constructor-vars": true,
"no-debugger": true,
"no-duplicate-key": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-eval": true,
"no-string-literal": true,
"no-switch-case-fall-through": true,
"no-trailing-comma": true,
"no-trailing-whitespace": true,
"no-unused-expression": true,
"no-unused-variable": true,
"no-unreachable": true,
"no-use-before-declare": false,
"no-var-requires": true,
"one-line": [true,
@@ -64,7 +60,6 @@
"property-declaration": "nospace",
"variable-declaration": "nospace"
}],
"use-strict": false,
"variable-name": false,
"whitespace": [true,
"check-branch",