Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to tslint v4.0.1 #14

Merged
merged 3 commits into from
Nov 21, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@
"blue-tape": "^1.0.0",
"standard": "^8.1.0",
"tap-spec": "^4.1.1",
"tslint": "^3.15.1",
"tslint": "^4.0.1",
"typescript": "^2.0.3"
},
"dependencies": {
"tslint-eslint-rules": "^2.0.1"
"tslint-eslint-rules": "^3.0.0"
}
}
2 changes: 1 addition & 1 deletion test/rules/handle-callback-err.out
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
handle-callback-err.ts[1, 10]: Unused function: 'cb'

handle-callback-err.ts[1, 14]: Expected error to be handled
1 change: 1 addition & 0 deletions test/rules/no-constant-condition.out
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@

no-constant-condition.ts[1, 5]: unexpected constant condition
2 changes: 1 addition & 1 deletion test/rules/no-inner-declarations.out
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@

no-inner-declarations.ts[4, 20]: block is empty
no-inner-declarations.ts[4, 12]: Unused function: 'test'
no-inner-declarations.ts[4, 3]: move function declaration to program root
2 changes: 1 addition & 1 deletion test/rules/no-multi-spaces.out
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
no-multi-spaces.ts[1, 7]: Unused variable: 'test'

no-multi-spaces.ts[1, 15]: Multiple spaces found before 'true'.
2 changes: 1 addition & 1 deletion test/rules/semicolon.out
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
semicolon.ts[1, 7]: Unused variable: 'foo'

semicolon.ts[1, 17]: Unnecessary semicolon
2 changes: 1 addition & 1 deletion test/rules/trailing-comma.out
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
trailing-comma.ts[1, 7]: Unused variable: 'foo'

trailing-comma.ts[3, 7]: Unnecessary trailing comma
2 changes: 0 additions & 2 deletions tslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ module.exports = {
'no-empty': true,
'no-eval': true,
'no-switch-case-fall-through': true,
'no-unreachable': true,
'no-unused-expression': true,
'no-unused-variable': true,
'no-var-keyword': true,
'radix': true,
'triple-equals': [
Expand Down