Commit ee76287d authored by Daniel Firth's avatar Daniel Firth
Browse files

ChangeLog.md: update with details on specific linters

Pipeline #2207 passed with stages
in 1 second
# lint-utils
# ChangeLog for lint-utils
## v0.1.0.0
......@@ -6,3 +6,17 @@
for haskell, nix and dhall.
* `writePorcelainOrDieCheck` will run a `command` on some `src`, and die
with some `advice` if the execution fails.
* `writePorcelainLinter` is shorthand for
`"find . -name '${find}' | xargs ${exec}";`, where find and exec
can be specified by the user.
* Add specific porcelain linters with default `find` presets:
`cabal-fmt` with `find ? "*.cabal".
`dhall-format` with `find ? "*.dhall".
`fourmolu` with `find ? "*.hs".
`hpack` with `find ? "package.yaml".
`nixpkgs-fmt` with `find ? "*.nix".
`ormolu` with `find ? "*.hs".
`stylish-haskell` with `find ? "*.hs".
* Add two other linters:
`hlint`, which runs `hlint` on the specified `src`.
`werror`, which adds `--ghc-options=-Werror` to a cabal project.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment