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

take into account config file BEFORE checking if rules are syntactic #103

Merged
merged 1 commit into from
May 13, 2020

Conversation

bjaglin
Copy link
Collaborator

@bjaglin bjaglin commented May 10, 2020

Fixes scalacenter/scalafix#1033

RemoveUnused was called without what's required for a semantic rule, as this default rule from the custom config was not picked up early enough, causing the choice to take the syntactic-only code path to be wrong.

RemoveUnused was called without what's required for a semantic rule,
as this default rule from the custom config was not picked up early
enough, causing the choice to take the syntactic-only code path to
be wrong.
@bjaglin bjaglin marked this pull request as ready for review May 10, 2020 00:54
Copy link
Contributor

@olafurpg olafurpg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 thank you!

@olafurpg olafurpg merged commit 9cb9949 into scalacenter:master May 13, 2020
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.

sbt: scalafixConfig setting doesn't work
3 participants