-
Notifications
You must be signed in to change notification settings - Fork 744
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for specifying exemptPrefixes/exemptNames for UnusedVaria…
…ble via flags In some cases projects have conventions about use of custom arguments/variables that are not meant to be deleted even if unused. One of such examples could be keeping an ORMs `Session session` argument in the method arguments signifying that the method happens within the boundaries of provided session and is doing calls to the underlying datastore. This PR would allow to provide custom values for exemptPrefixes and exemptNames via error-prone flags. Fixes #2753 FUTURE_COPYBARA_INTEGRATE_REVIEW=#2753 from bezmax:unused-variable-parameters 36b9502 PiperOrigin-RevId: 566671352
- Loading branch information
Maksim Bezsaznyj
authored and
Error Prone Team
committed
Sep 19, 2023
1 parent
5ab2545
commit 240dc8a
Showing
3 changed files
with
29 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters