From 8c6ab0cbb68ef2deaf575b0eb341fd6c652e1848 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Fri, 20 Oct 2023 11:11:05 +0200 Subject: add hlint --- .hlint.yaml | 9 +++++++++ default.nix | 1 + 2 files changed, 10 insertions(+) create mode 100644 .hlint.yaml diff --git a/.hlint.yaml b/.hlint.yaml new file mode 100644 index 0000000..eec7d60 --- /dev/null +++ b/.hlint.yaml @@ -0,0 +1,9 @@ +- modules: + - name: [Data.Text, Data.Text.Encoding, Data.Text.IO] + as: "T" + importStyle: "qualified" + qualifiedStyle: "post" + - name: [Data.Text.Lazy, Data.Text.Lazy.Encoding, Data.Text.Lazy.IO] + as: "LT" + importStyle: "qualified" + qualifiedStyle: "post" diff --git a/default.nix b/default.nix index 5bbe027..7198b97 100644 --- a/default.nix +++ b/default.nix @@ -40,6 +40,7 @@ rec { packages = _: [ anissue ]; buildInputs = [ haskellPackages.cabal-install + haskellPackages.hlint haskellPackages.ormolu haskellPackages.pointfree pkgs.ghcid -- cgit v1.2.3