Skip to content

Commit

Permalink
Merge pull request #6 from Kpler/update-readme
Browse files Browse the repository at this point in the history
docs: update readme
  • Loading branch information
leo-dur authored Jan 14, 2025
2 parents 2c0d638 + fb251ea commit d2ee022
Showing 1 changed file with 1 addition and 4 deletions.
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
```

0 comments on commit d2ee022

Please sign in to comment.