codeclimate-scalastyle
is a Code Climate engine that wraps scalastyle. You can run it on your command line using the Code Climate CLI, or on our hosted analysis platform.
scalastyle
is a configurable style linter for Scala code.
- Install sbt
- Run
sbt docker
- Run
sbt assembly && cp target/scala-2.12/codeclimate-scalastyle-assembly-<version>.jar ./
. This will create assembled jar with all dependencies. - Run
docker build -t codeclimate/codeclimate-scalastyle .
- If you haven't already, install the Code Climate CLI.
- Run
codeclimate engines:enable scalastyle
. This command both installs the engine and enables it in your.codeclimate.yml
file. - You're ready to analyze! Browse into your project's folder and run
codeclimate analyze
.
For help with scalastyle
, check out their documentation.
If you're running into a Code Climate issue, first look over this project's GitHub Issues, as your question may have already been covered. If not, go ahead and open a support ticket with us.