Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
nix
lint-utils
Commits
ee76287d
Commit
ee76287d
authored
2 years ago
by
Daniel Firth
Browse files
Options
Download
Email Patches
Plain Diff
ChangeLog.md: update with details on specific linters
parent
4cf131d4
master
dhall-hpack-cabal
treefmt
0.1.0.0
Pipeline
#2207
passed with stages
in 1 second
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
ChangeLog.md
ChangeLog.md
+15
-1
No files found.
ChangeLog.md
View file @
ee76287d
# 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.
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help