Skip to content

Commit

Permalink
Merge pull request #2097 from scalacenter/settings-wildcard-cli
Browse files Browse the repository at this point in the history
docs: tweak syntax to be shell-compliant
  • Loading branch information
bjaglin authored Oct 4, 2024
2 parents 77f46da + 36f1874 commit 1bf297d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/users/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,11 @@ lint.error.includes = ".*"
lint.error.excludes = "UnusedScalafixSuppression"
```

is equivalent to the following CLI arguments
is equivalent to the following CLI arguments (note the escaped wildcard)

```
scalafix ... \
$ scalafix ... \
--settings.DisableSyntax.noFinalize=true \
--settings.lint.error.includes=.* \
--settings.lint.error.includes=.\* \
--settings.lint.error.excludes=UnusedScalafixSuppression
```

0 comments on commit 1bf297d

Please sign in to comment.