Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,15 @@ Collection of [pre-commit](https://pre-commit.com/) hooks for scala

* scalafmt: Run scalafmt, should be configured with a `.scalafmt.conf` file

* scalafix: Run scalafix, should be configured with a `.scalafix.conf` file, only supports syntactic rules

## Alternative

* [pre-commit-scalafmt](https://github.com/coyainsurance/pre-commit-scalafmt)
* Run scalafmt on compile
* Run scalafmt on compile (from sbt)

## How to upgrade scalafix or scalafmt ?

Download the newer version with coursier then commit the result

```bash
cs bootstrap scalafmt -o scalafmt -f
cs bootstrap scalafix -o scalafix -f
```