diff options
Diffstat (limited to '')
-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 } = |