Skip to content

Commit

Permalink
scalafix: fix docs tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dos65 committed Nov 7, 2024
1 parent 789f70a commit ae7f0c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/docs/commands/scalafix.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Scala CLI runs [Scalafix](https://scalacenter.github.io/scalafix/) - Refactoring

Before using this command you need to provide the configuration at `.scalafix.conf`.
For example:
```
``` text title=.scalafix.conf
// .scalafix.conf
rules = [
DisableSyntax
Expand All @@ -23,13 +23,13 @@ rules = [

Then you can run it:
```bash
scala-cli scalafix .
scala-cli scalafix . --power
```

If you’re setting up a continuous integration (CI) server, Scala CLI also has you covered.
You can run linter using a `--check` flag:
```bash fail
scala-cli scalafix --check .
scala-cli scalafix --check . --power
```

Read more about Scalafix:
Expand Down

0 comments on commit ae7f0c9

Please sign in to comment.