Skip to content

Commit

Permalink
fix: backend checks
Browse files Browse the repository at this point in the history
  • Loading branch information
MSzalowski committed Aug 27, 2024
1 parent 131d1b3 commit af616d6
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .pre-commit-config.yaml
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$'

0 comments on commit af616d6

Please sign in to comment.