|
| 1 | +# HLint configuration file |
| 2 | +# https://github.com/ndmitchell/hlint |
| 3 | +########################## |
| 4 | + |
| 5 | +# This file contains a template configuration file, which is typically |
| 6 | +# placed as .hlint.yaml in the root of your project |
| 7 | + |
| 8 | +# All built-in hints |
| 9 | +- warn: {name: "Use LANGUAGE pragmas"} |
| 10 | +- warn: {name: "Use fewer LANGUAGE pragmas"} |
| 11 | +- warn: {name: "Unused LANGUAGE pragma"} |
| 12 | +- warn: {name: "Missing NOINLINE pragma"} |
| 13 | +- warn: {name: "Fix pragma markup"} |
| 14 | +- warn: {name: "Use pragma syntax"} |
| 15 | + |
| 16 | +- ignore: {name: "Move guards forward"} |
| 17 | +- ignore: {name: "Move map inside list comprehension"} |
| 18 | +- ignore: {name: "Redundant True guards"} |
| 19 | +- ignore: {name: "Short-circuited list comprehension"} |
| 20 | +- ignore: {name: "Use :"} |
| 21 | +- ignore: {name: "Use String"} |
| 22 | +- ignore: {name: "Use list literal"} |
| 23 | +- ignore: {name: "Use list literal pattern"} |
| 24 | +- ignore: {name: "Use foldM"} |
| 25 | +- ignore: {name: "Use foldl"} |
| 26 | +- ignore: {name: "Use foldr"} |
| 27 | +- ignore: {name: "Use map"} |
| 28 | +- ignore: {name: "Redundant do"} |
| 29 | +- ignore: {name: "Redundant return"} |
| 30 | +- ignore: {name: "Redundant variable capture"} |
| 31 | +- ignore: {name: "Redundant void"} |
| 32 | +- ignore: {name: "Use <$>"} |
| 33 | +- ignore: {name: "Use foldM_"} |
| 34 | +- ignore: {name: "Use forM_"} |
| 35 | +- ignore: {name: "Use join"} |
| 36 | +- ignore: {name: "Use let"} |
| 37 | +- ignore: {name: "Use mapM_"} |
| 38 | +- ignore: {name: "Avoid lambda"} |
| 39 | +- ignore: {name: "Avoid lambda"} |
| 40 | +- ignore: {name: "Avoid lambda using `infix`"} |
| 41 | +- ignore: {name: "Collapse lambdas"} |
| 42 | +- ignore: {name: "Eta reduce"} |
| 43 | +- ignore: {name: "Redundant lambda"} |
| 44 | +- ignore: {name: "Use lambda"} |
| 45 | +- ignore: {name: "Use lambda-case"} |
| 46 | +- ignore: {name: "Use section"} |
| 47 | +- ignore: {name: "Use tuple-section"} |
| 48 | +- ignore: {name: "Redundant bracket due to operator fixities"} |
| 49 | +- ignore: {name: "Move brackets to avoid $"} |
| 50 | +- ignore: {name: "Redundant $"} |
| 51 | +- ignore: {name: "Redundant bracket"} |
| 52 | +- ignore: {name: "Redundant bracket"} |
| 53 | +- ignore: {name: "Redundant section"} |
| 54 | +- ignore: {name: "Use camelCase"} |
| 55 | +- ignore: {name: "Redundant as-pattern"} |
| 56 | +- ignore: {name: "Redundant bang pattern"} |
| 57 | +- ignore: {name: "Redundant case"} |
| 58 | +- ignore: {name: "Redundant guard"} |
| 59 | +- ignore: {name: "Redundant irrefutable pattern"} |
| 60 | +- ignore: {name: "Redundant where"} |
| 61 | +- ignore: {name: "Use guards"} |
| 62 | +- ignore: {name: "Use otherwise"} |
| 63 | +- ignore: {name: "Use record patterns"} |
| 64 | +- ignore: {name: "Used otherwise as a pattern"} |
| 65 | +- ignore: {name: "Redundant as"} |
| 66 | +- ignore: {name: "Use fewer imports"} |
| 67 | +- ignore: {name: "Use explicit module export list"} |
| 68 | +- ignore: {name: "Use module export list"} |
| 69 | +- ignore: {name: "Use DerivingStrategies"} |
| 70 | +- ignore: {name: "Use newtype instead of data"} |
| 71 | +- ignore: {name: "Use underscore"} |
0 commit comments