mirror of
https://github.com/numtide/treefmt.git
synced 2024-08-17 12:50:26 +03:00
fix typo
This commit is contained in:
parent
3aee5bd5d3
commit
f400c2f320
@ -34,7 +34,7 @@ $ rustfmt --edition 2018 src/main.rs src/lib.rs
|
||||
A formatted file MUST be valid. This is a strong contract; the syntax or
|
||||
semantic must never be broken by the formatter.
|
||||
|
||||
A formatted file SHOULD be idempotent. Meaning that if the formatter it run
|
||||
A formatter SHOULD be idempotent. Meaning that if the formatter it run
|
||||
twice on a file, the file should not change on the second invocation.
|
||||
|
||||
The formatter MUST NOT do file traversal when a list of files is passed to it.
|
||||
|
@ -28,7 +28,7 @@ excludes = ["examples/haskell/"]
|
||||
|
||||
[formatter.nix]
|
||||
command = "nixpkgs-fmt"
|
||||
includes = ["*.nix"]
|
||||
includes = ["*.nix", ".foo.nix"]
|
||||
# Act as an example on how to exlude specific files
|
||||
excludes = ["examples/nix/sources.nix"]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user