From 3c6e0cdd904cb62923a6f40569ebe5f2e2351e80 Mon Sep 17 00:00:00 2001 From: Phil de Joux Date: Wed, 27 Mar 2024 07:53:01 -0400 Subject: [PATCH] Generate hlint default configuration --- .hlint.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .hlint.yaml diff --git a/.hlint.yaml b/.hlint.yaml new file mode 100644 index 00000000..cce96650 --- /dev/null +++ b/.hlint.yaml @@ -0,0 +1,29 @@ +# Warnings currently triggered by your code +- ignore: {name: "Avoid lambda"} # 1 hint +- ignore: {name: "Eta reduce"} # 12 hints +- ignore: {name: "Fuse foldr/map"} # 1 hint +- ignore: {name: "Move brackets to avoid $"} # 6 hints +- ignore: {name: "Redundant $"} # 32 hints +- ignore: {name: "Redundant <$>"} # 17 hints +- ignore: {name: "Redundant bracket"} # 12 hints +- ignore: {name: "Replace case with fromMaybe"} # 3 hints +- ignore: {name: "Unused LANGUAGE pragma"} # 16 hints +- ignore: {name: "Use $>"} # 2 hints +- ignore: {name: "Use <&>"} # 1 hint +- ignore: {name: "Use >=>"} # 1 hint +- ignore: {name: "Use asks"} # 5 hints +- ignore: {name: "Use camelCase"} # 2 hints +- ignore: {name: "Use const"} # 4 hints +- ignore: {name: "Use evalState"} # 2 hints +- ignore: {name: "Use fold"} # 1 hint +- ignore: {name: "Use for"} # 1 hint +- ignore: {name: "Use fromMaybe"} # 1 hint +- ignore: {name: "Use id"} # 6 hints +- ignore: {name: "Use newtype instead of data"} # 3 hints +- ignore: {name: "Use record patterns"} # 4 hints +- ignore: {name: "Use tuple-section"} # 2 hints +- ignore: {name: "Use uncurry"} # 2 hints +- ignore: {name: "Use unless"} # 3 hints +- ignore: {name: "Use unwords"} # 1 hint +- ignore: {name: "Use void"} # 5 hints +- ignore: {name: "Use when"} # 2 hints