git.iko.soy/typeable/servant
on servant-client-0.16.0.1 help sign in
typeable/servant/.hlint.yaml
51 lines 1.4 kB history raw
1# Control which extensions/flags/modules/functions can be used
2#
3- extensions:
4 - default: false # all extension are banned by default
5 - name:
6 - CPP
7 - DataKinds
8 - DeriveDataTypeable
9 - DeriveFoldable
10 - DeriveFunctor
11 - DeriveGeneric
12 - DeriveTraversable
13 - FlexibleContexts
14 - FlexibleInstances
15 - FunctionalDependencies
16 - GADTs
17 - KindSignatures
18 - MultiParamTypeClasses
19 - OverloadedStrings
20 - PolyKinds
21 - RankNTypes
22 - ScopedTypeVariables
23 - TypeFamilies
24 - TypeOperators
25 - UndecidableInstances
27- modules:
28 - {name: [Data.Set], as: Set}
29 - {name: Control.Arrow, within: []} # Certain modules are banned entirely
31- functions:
32 - {name: unsafePerformIO, within: []} # unsafePerformIO can only appear in no modules
34# Turn on hints that are off by default
36# Ban "module X(module X) where", to require a real export list
37- warn: {name: Use explicit module export list}
39# Ignore some builtin hints
40- ignore: {name: Redundant do}
41- ignore: {name: Parse error}
42- ignore: {name: Use fmap}
43- ignore: {name: "Use <$>"}
44- ignore: {name: Use list comprehension}
45- ignore: {name: Use lambda-case}
46- ignore: {name: Eta reduce}
48# Add custom hints for this project
50# Will suggest replacing "wibbleMany [myvar]" with "wibbleOne myvar"
51# - error: {lhs: "wibbleMany [x]", rhs: wibbleOne x}