From 049f286e6faa7b2bf150c986e7ce81ed0bcca6b0 Mon Sep 17 00:00:00 2001 From: Sergey Vinokurov Date: Mon, 2 Apr 2018 22:47:07 +0100 Subject: [PATCH] Add .hlint.yaml --- .hlint.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .hlint.yaml diff --git a/.hlint.yaml b/.hlint.yaml new file mode 100644 index 0000000..6fecf6a --- /dev/null +++ b/.hlint.yaml @@ -0,0 +1,24 @@ +# HLint configuration file +# https://github.com/ndmitchell/hlint +########################## + +# This file contains a template configuration file, which is typically +# placed as .hlint.yaml in the root of your project + +# Specify additional command line arguments + +- arguments: + [ "--cpp-include=srcinc" + , "--language=GADTs" + , "--language=LambdaCase" + , "--language=MultiWayIf" + , "--language=KindSignatures" + , "--cross" + , "--threads=0" + ] + +- ignore: {name: "Use camelCase"} +- ignore: {name: "Redundant as"} +- ignore: {name: "Redundant do"} +- ignore: {name: "Redundant return"} +- ignore: {name: "Redundant guard", whithin: "lrdrNameToTextAnn"}