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

Enable scalafix in the scalafix build. #514

Merged
merged 2 commits into from
Dec 20, 2017
Merged

Conversation

olafurpg
Copy link
Contributor

I think long overdue to bootstrap and start using scalafix to develop scalafix 😄 We can start with remove unused imports and terms and then add more as we go. I found NoInfer to be too noisy, I will soon have a PR making it possible to tweak the noise by excluding certain symbols.

Remove ununsed imports and terms.
@@ -126,7 +126,7 @@ object TestProject {
MultiScalaProject(
s"tests${sub.capitalize}",
base(sub),
configure
configure.andThen(_.disablePlugins(scalafix.sbt.ScalafixPlugin))
Copy link
Contributor

Choose a reason for hiding this comment

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

Because of #512 ?

@@ -0,0 +1,4 @@
rules = [
Copy link
Contributor

Choose a reason for hiding this comment

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

explicit return type for public methods?

@MasseGuillaume
Copy link
Contributor

It would be nice to add a --test in the ci matrix.

We limit .scalafix.conf to implicits only. Running ExplicitResultTypes
on public members yielded several known bugs.
@olafurpg
Copy link
Contributor Author

We run --test in the ci-fast-212 entry @MasseGuillaume https://travis-ci.org/scalacenter/scalafix/jobs/319146392#L942

@olafurpg olafurpg merged commit 535e33e into scalacenter:master Dec 20, 2017
@olafurpg olafurpg deleted the dogfood branch December 20, 2017 13:07
@MasseGuillaume MasseGuillaume added this to the v0.5.8 milestone Jan 25, 2018
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.

2 participants