summaryrefslogtreecommitdiff
path: root/lib/Types.hs
diff options
context:
space:
mode:
authorstuebinm2021-12-16 15:10:30 +0100
committerstuebinm2021-12-16 15:10:30 +0100
commit9e5ecf2bd3be27be6e8d1dd9f0bf8d80cf1eaa30 (patch)
tree3b517ddd86b761a433641b3532caa18d5c487e47 /lib/Types.hs
parent1144f4b4aa4dbe9522a64aaec0f8488c5f2c62e3 (diff)
fixed & removed a bunch of old TODOs
Diffstat (limited to '')
-rw-r--r--lib/Types.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Types.hs b/lib/Types.hs
index 6f80d55..978ada2 100644
--- a/lib/Types.hs
+++ b/lib/Types.hs
@@ -51,7 +51,6 @@ instance HasArguments Level where
data Lint = Depends Dep | Offers Text | Lint Hint | Badge Badge
deriving (Ord, Eq, Generic, ToJSONKey)
--- | TODO: add a reasonable representation of possible urls
data Dep = Local RelPath | Link Text | MapLink Text | LocalMap RelPath
deriving (Generic, Ord, Eq)
@@ -84,7 +83,7 @@ instance PrettyPrint Lint where
" Info: found a badge."
instance PrettyPrint Hint where
- prettyprint (Hint level msg) = " " <> (showText level) <> ": " <> msg
+ prettyprint (Hint level msg) = " " <> showText level <> ": " <> msg
instance ToJSON Lint where
toJSON (Lint h) = toJSON h