aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.hlint.yaml9
-rw-r--r--default.nix1
2 files changed, 10 insertions, 0 deletions
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