pbrisbin/codeclimate-hlint

View on GitHub

Showing 2 of 2 total issues

Use newtype instead of data
Open

data Config = Config { configIncludes :: [FilePath] }
Severity: Minor
Found in src/CC/Config.hs by hlint

Found

data Config = Config {configIncludes :: [FilePath]}

Perhaps

newtype Config = Config {configIncludes :: [FilePath]}

Applying this change:

  • decreases laziness

TODO found
Open

    , issueContent :: Text -- TODO: Markdown type
Severity: Minor
Found in src/CC/Result.hs by fixme
Severity
Category
Status
Source
Language