Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- applyConfig :: Maybe FilePath -> LintOptions -> IO (Either String LintOptions)
- getConfig :: Maybe FilePath -> IO (Maybe FilePath)
- 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.
getConfig :: Maybe FilePath -> IO (Maybe FilePath) Source #
Gets the configuration file which Hadolint uses
data ConfigFile Source #
Instances
data OverrideConfig Source #