Update TSLint
parent
646cf7a14d
commit
0062a5c814
|
@ -44,8 +44,8 @@
|
|||
"lint": "tslint -c tslint.json \"src/**/*.ts\""
|
||||
},
|
||||
"devDependencies": {
|
||||
"tslint": "^3.15.1",
|
||||
"typescript": "^2.0.3",
|
||||
"tslint": "^4.2.0",
|
||||
"typescript": "^2.1.4",
|
||||
"typings": "^2.0.0",
|
||||
"vsce": "^1.8.1",
|
||||
"vscode": "^1.0.0"
|
||||
|
|
|
@ -13,6 +13,9 @@
|
|||
"strictNullChecks": true,
|
||||
"noImplicitThis": true,
|
||||
"noImplicitReturns": true,
|
||||
"noUnusedLocals": true,
|
||||
"allowUnreachableCode": false,
|
||||
"allowUnusedLabels": false,
|
||||
"typeRoots": [
|
||||
"typings/modules",
|
||||
"typings/globals"
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
"class-name": true,
|
||||
"comment-format": [true, "check-space"],
|
||||
"indent": [true, "spaces"],
|
||||
"no-duplicate-variable": true,
|
||||
"no-eval": true,
|
||||
"no-internal-module": true,
|
||||
"no-trailing-whitespace": true,
|
||||
|
@ -36,10 +35,7 @@
|
|||
"one-variable-per-declaration": [true, "ignore-for-loop"],
|
||||
"curly": true,
|
||||
"no-empty": true,
|
||||
"no-duplicate-key": true,
|
||||
"no-unreachable": true,
|
||||
"no-unused-expression": true,
|
||||
"no-unused-variable": [true],
|
||||
"eofline": true,
|
||||
"trailing-comma": [true, {"singleline": "never", "multiline": "never"}],
|
||||
"align": [true, "parameters", "statements"]
|
||||
|
|
Loading…
Reference in New Issue