Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove sbt-fix-it module #97

Merged
merged 1 commit into from
Apr 15, 2020
Merged

Remove sbt-fix-it module #97

merged 1 commit into from
Apr 15, 2020

Conversation

alejandrohdezma
Copy link
Owner

@alejandrohdezma alejandrohdezma commented Apr 15, 2020

Removing this plugin since it's only useful for projects using both tools that also use the IntegrationTest configuration.

The same goal can be met by adding the following AutoPlugin to your project folder:

object IntegrationTestPlugin extends AutoPlugin {

  override def trigger               = allRequirements
  override def requires              = ScalafmtPlugin && ScalafixPlugin
  override def projectConfigurations = Seq(IntegrationTest)

  override def projectSettings = inConfig(IntegrationTest) {
    testSettings ++ scalafixConfigSettings(IntegrationTest) ++ scalafmtConfigSettings
  }

}

@alejandrohdezma alejandrohdezma merged commit b3cd223 into master Apr 15, 2020
@alejandrohdezma alejandrohdezma deleted the breaking/it branch April 15, 2020 17:20
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant