Skip to content

Commit 1a6dd80

Browse files
committed
Adapt hlint setup
1 parent 473c5f4 commit 1a6dd80

File tree

3 files changed

+8
-17
lines changed

3 files changed

+8
-17
lines changed

.hlint.yaml

+8-9
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
1+
# HLint configuration file
2+
#
3+
# see `hlint --default` for help
4+
################################
5+
16
# Specify additional command line arguments
2-
- arguments: [-XTypeApplications]
7+
- arguments: [-XTypeApplications, -XOverloadedRecordDot]
38

49
# Control which extensions/flags/modules/functions can be used
510
- modules:
6-
- {name: [Data.Map], within: []}
711
- {name: [System.FilePath.Posix], within: []}
8-
- name:
9-
- Prettyprinter
10-
- Prettyprinter.Render.Text
11-
- Prettyprinter.String
12-
within:
13-
- Pretty
14-
- Kore.JsonRpc.Types
1512

1613
# Ignore some builtin hints
14+
1715
# This warning should apply to Control.Exception.evaluate, but is mistakenly
1816
# applied to Kore.Rewrite.SMT.Evaluator.evaluate.
1917
- ignore: {name: "Redundant evaluate"}
2018

2119
# Corporate style
20+
- ignore: {name: "Move brackets to avoid $" }
2221
- ignore: {name: "Use tuple-section"}
2322
- ignore: {name: "Use record patterns"}
2423
- ignore: {name: "Use String"}

booster/.hlint.yaml

-8
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)