Skip to content

Commit

Permalink
Add note about :file-pattern in edn config
Browse files Browse the repository at this point in the history
  • Loading branch information
rynkowsg committed Jan 9, 2024
1 parent 434408f commit 5c713ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,9 @@ In order to load the standard configuration file from Leiningen, add the

* `:file-pattern` -
a regular expression to decide which files to scan. Defaults to
`#”\.clj[csx]?$”`.
`#"\.clj[csx]?$"`.
- When config is defined in edn file, you need to use `#re` tag and string
convertable to regex pattern, e.g. `:file-pattern #re "\\.clj[csx]?$"`.

* `:parallel?` -
true if cljfmt should process files in parallel. Defaults to false.
Expand Down

0 comments on commit 5c713ca

Please sign in to comment.