Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Un-deprecate noUnusedVariable. #2256

Merged
merged 1 commit into from
Feb 27, 2017
Merged

Un-deprecate noUnusedVariable. #2256

merged 1 commit into from
Feb 27, 2017

Conversation

mprobst
Copy link
Contributor

@mprobst mprobst commented Feb 27, 2017

As discussed in feedback on #1481 and #1617, for many users --noUnusedParameters and --noUnusedLocals do not work as a replacement for noUnusedVariable. This change de-deprecates the rule and documents the alternative compiler flags (and why they might not work for users) in the description.

Fixes #1617.

This is a proposal, please discuss and feel free to reject :-)

PR checklist

As discussed in feedback on  palantir#1481 and palantir#1617, for many users `--noUnusedParameters` and `--noUnusedLocals` do not work as a replacement for `noUnusedVariable`. This change de-deprecates the rule and documents the alternative compiler flags (and why they might not work for users) in the description.

Fixes palantir#1617.
@adidahiya
Copy link
Contributor

Ok, after seeing all the community feedback around this, I'm inclined to agree and un-deprecate the rule.

@ackvf
Copy link

ackvf commented Apr 7, 2018

So, how to actually enable this rule?

@vpzomtrrfrt
Copy link

Per #3919, apparently this is deprecated again

@adidahiya
Copy link
Contributor

locking in favor of discussion in #4100

@palantir palantir locked as resolved and limited conversation to collaborators Feb 12, 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