-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
131d1b3
commit af616d6
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# See https://pre-commit.com for more information | ||
# See https://pre-commit.com/hooks.html for more hooks | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v3.2.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
|
||
- repo: local | ||
hooks: | ||
- id: hlint | ||
name: hlint | ||
description: HLint gives suggestions on how to improve your source code. | ||
entry: hlint | ||
language: system | ||
files: '\.l?hs$' | ||
|
||
- id: stylish-haskell | ||
name: stylish-haskell | ||
description: Haskell code format checker. | ||
entry: stylish-haskell --config govtool/backend/.stylish-haskell.yaml | ||
language: system | ||
files: '\.l?hs$' |