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

Make error-prone checker add custom scopes to default scopes #308

Merged
merged 7 commits into from
Dec 7, 2018

Conversation

ShaishavGandhi
Copy link
Collaborator

This adds a new flag isScopeExclusive (open to suggestions) that will make the classes supplied in TypesWithScope exclusive and will only perform the check on those classes.

In the absence of that flag, we will add the custom scope classes to the DEFAULT_CLASSES_WITH_LIFECYCLE instead of ignoring the default ones.

Part of #298

@ShaishavGandhi
Copy link
Collaborator Author

This suggestion thing is stupid. Doesn't let me batch changes 🙄

@ZacSweers
Copy link
Collaborator

No need to batch, separate commits is better for readability

@ZacSweers ZacSweers merged commit 1456c73 into master Dec 7, 2018
@ShaishavGandhi ShaishavGandhi deleted the sg/additive-scopes-ep branch December 7, 2018 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants