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

fix(@angular/cli): remove inexistent tslint override #4696

Closed

Conversation

filipesilva
Copy link
Contributor

@filipesilva filipesilva commented Feb 14, 2017

no-unused-variable doesn't exist anymore, so these disables aren't doing anything. Also removed the unused vars.

`no-unused-variable` doesn't exist anymore, so these disables aren't doing anything.
@filipesilva filipesilva force-pushed the remove-unused-lint-comments branch from 422db9f to feb8cd0 Compare February 14, 2017 16:57
@mhheise
Copy link

mhheise commented Feb 14, 2017

Would it make sense to add the noUnusedParameters and noUnusedLocals attributes to the generated project tsconfig.json to continue to enforce this check? The no-unused-variable rule in tslint was deprecated in favor of these typescript compiler flags.

@filipesilva
Copy link
Contributor Author

I tried to do that and didn't actually see any errors in my IDE (VSCode). I actually don't know how that would be enforced now tbh, I just now that this is dead code atm.

@mhheise
Copy link

mhheise commented Feb 14, 2017

I can create a follow-up PR for the additional changes to the generated tsconfig.json if you would like to keep this unused-variable-checking functionality. I think that this could possibly be a breaking change, given that a lint warning would now become a compilation error.

@filipesilva
Copy link
Contributor Author

@mhheise I'm interested to see if it's seamless or not, so I would appreciate the followup PR. On my tests it didn't break compilation so I found that odd.

@filipesilva filipesilva deleted the remove-unused-lint-comments branch February 25, 2017 11:26
asnowwolf pushed a commit to asnowwolf/angular-cli that referenced this pull request Apr 12, 2017
`no-unused-variable` doesn't exist anymore, so these disables aren't doing anything.

Close angular#4696
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants