diff options
author | stuebinm | 2021-09-18 01:34:36 +0200 |
---|---|---|
committer | stuebinm | 2021-09-18 01:34:36 +0200 |
commit | 77d1f4ce4eb3ba40d884cc4ed7fa693e16538c8d (patch) | |
tree | d452b0287f352609a7aae9e6d24f43a0eedc6e6c /lib/LintWriter.hs | |
parent | b17396b2eeefdf113b862b254cb152557bebf68d (diff) |
type check properties
/finally/ figured out that all properties just look like {name, value,
type} so now that's abstracted away and Properties.hs doesn't look like
javascript anymore
Diffstat (limited to 'lib/LintWriter.hs')
-rw-r--r-- | lib/LintWriter.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/LintWriter.hs b/lib/LintWriter.hs index 10c727d..09a2297 100644 --- a/lib/LintWriter.hs +++ b/lib/LintWriter.hs @@ -23,8 +23,8 @@ data Level = Warning | Suggestion | Info | Forbidden | Error | Fatal -- | a hint comes with an explanation (and a level) data Hint = Hint { hintLevel :: Level - , hintMsg :: Text } - deriving (Generic, ToJSON) + , hintMsg :: Text + } deriving (Generic, ToJSON) instance PrettyPrint Hint where prettyprint Hint { hintMsg, hintLevel } = |