Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- applyConfig :: Maybe FilePath -> LintOptions -> IO (Either String LintOptions)
- data ConfigFile = ConfigFile {}
- data OverrideConfig = OverrideConfig {}
Documentation
applyConfig :: Maybe FilePath -> LintOptions -> IO (Either String LintOptions) Source #
If both the ignoreRules and rulesConfig properties of Lint options are empty then this function will fill them with the default found in the passed config file. If there is an error parsing the default config file, this function will return the error string.
data ConfigFile Source #
Instances
data OverrideConfig Source #