Skip to content

Commit f7fd3a2

Browse files
committed
simulation: make hlint report only about restricted modules
1 parent 840b81f commit f7fd3a2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.hlint.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@
9191
# - ignore: {name: Use let}
9292
# - ignore: {name: Use const, within: SpecialModule} # Only within certain modules
9393

94+
# Ignores all builting hints.
95+
- ignore: {}
96+
97+
# Re-enables the warning configured with `modules` above.
98+
- warning: {name: "Avoid restricted module"}
99+
94100
# Define some custom infix operators
95101
# - fixity: infixr 3 ~^#^~
96102

0 commit comments

Comments
 (0)