Skip to content

Commit

Permalink
Add basic linting config
Browse files Browse the repository at this point in the history
  • Loading branch information
uhbif19 committed Nov 20, 2023
1 parent 211767c commit 3b781a1
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .hlint.yaml
@@ -0,0 +1,11 @@
- group: {name: future, enabled: true}
- group: {name: generalise, enabled: true}
- functions:
- {name: undefined, within: []}
- ignore: {name: Use pure}
- ignore: {name: Use print}
- ignore: {name: Use null}
- ignore: {name: Use notElem}
- ignore: {name: Use unless}
- ignore: {name: Use fmap}
- ignore: {name: Use traverse_}
7 changes: 7 additions & 0 deletions fourmolu.yaml
@@ -0,0 +1,7 @@
indentation: 2
comma-style: leading
record-brace-space: true
indent-wheres: true
respectful: true
haddock-style: multi-line
newlines-between-decls: 1
2 changes: 2 additions & 0 deletions hie.yaml
@@ -0,0 +1,2 @@
cradle:
cabal:

0 comments on commit 3b781a1

Please sign in to comment.