Skip to content

Commit 2b2be2f

Browse files
committed
Delete commented out stuff
1 parent 5772c23 commit 2b2be2f

File tree

1 file changed

+1
-27
lines changed

1 file changed

+1
-27
lines changed

.hlint.yaml

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,7 @@
129129
- {name: [-Wno-dodgy-imports,-Wno-incomplete-uni-patterns], within: [Main, Development.IDE.GHC.Compat, Development.IDE.GHC.Compat.Core, Development.Benchmark.Rules]}
130130
- {name: [-Wno-unused-imports], within: [Development.IDE.GHC.Compat.Core]}
131131
- {name: [-Wno-deprecations, -Wno-unticked-promoted-constructors], within: [Main, Experiments]}
132-
# - modules:
133-
# - {name: [Data.Set, Data.HashSet], as: Set} # if you import Data.Set qualified, it must be as 'Set'
134-
# - {name: Control.Arrow, within: []} # Certain modules are banned entirely
135-
#
132+
136133
- functions:
137134
# Things that are unsafe in Haskell base library
138135
- {name: unsafeInterleaveIO, within: [Development.IDE.LSP.LanguageServer]}
@@ -222,26 +219,3 @@
222219
# We really do not want novel usages of restricted functions, and mere
223220
# Warning is not enough to prevent those consistently; you need a build failure.
224221
- error: {name: Avoid restricted function}
225-
226-
# Add custom hints for this project
227-
#
228-
# Will suggest replacing "wibbleMany [myvar]" with "wibbleOne myvar"
229-
# - error: {lhs: "wibbleMany [x]", rhs: wibbleOne x}
230-
231-
# Turn on hints that are off by default
232-
#
233-
# Ban "module X(module X) where", to require a real export list
234-
# - warn: {name: Use explicit module export list}
235-
#
236-
# Replace a $ b $ c with a . b $ c
237-
# - group: {name: dollar, enabled: true}
238-
#
239-
# Generalise map to fmap, ++ to <>
240-
# - group: {name: generalise, enabled: true}
241-
242-
# Ignore some builtin hints
243-
# - ignore: {name: Use let}
244-
# - ignore: {name: Use const, within: SpecialModule} # Only within certain modules
245-
246-
# Define some custom infix operators
247-
# - fixity: infixr 3 ~^#^~

0 commit comments

Comments
 (0)