-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Removing no-unused-variable for tslint 4.0 #12
Conversation
The following rules all have been deprecated and must be removed: no-unused-variable |
Fixed tests |
Project config issue. |
The tslint-eslint-rules package also needs to be updated and the two additional rules removed. See PR #14 |
Sure. Let's use your PR. Closing this one. |
Travis is failing my CI tests. They pass on my local machine. I had to run |
Clear your local node_modules and try again. I think the eslint-rules has changed its distribution 👎 |
Oh, nope. It's eslint-rules need to update to 4.0 first. |
I was getting this error locally until I updated tslint-eslint-rules (which On Mon, Nov 21, 2016 at 11:50 AM Homa Wong notifications@github.com wrote:
|
I just tried it and 2.2.1 is not working yet. |
It does say unmet deps for me and using 4.0.1, thus the error. Which version of npm are you using? |
palantir/tslint#1481
It is deprecated in favor of:
https://github.com/Microsoft/TypeScript/wiki/What%27s-new-in-TypeScript#flag-unused-declarations-with---nounusedparameters-and---nounusedlocals
But don't release until https://github.com/Microsoft/vscode-tslint/issues/123 is fixed.