Safe Haskell | None |
---|---|
Language | Haskell2010 |
Hadolint.Config
Synopsis
- applyConfig :: Maybe FilePath -> LintOptions -> IO (Either String LintOptions)
- data ConfigFile = ConfigFile {
- ignoredRules :: Maybe [IgnoreRule]
- trustedRegistries :: Maybe [TrustedRegistry]
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 #
Constructors
ConfigFile | |
Fields
|
Instances
Eq ConfigFile Source # | |
Defined in Hadolint.Config | |
Show ConfigFile Source # | |
Defined in Hadolint.Config Methods showsPrec :: Int -> ConfigFile -> ShowS show :: ConfigFile -> String showList :: [ConfigFile] -> ShowS | |
Generic ConfigFile Source # | |
Defined in Hadolint.Config Associated Types type Rep ConfigFile :: Type -> Type | |
FromYAML ConfigFile Source # | |
Defined in Hadolint.Config Methods parseYAML :: Node -> Parser ConfigFile | |
type Rep ConfigFile Source # | |
Defined in Hadolint.Config type Rep ConfigFile = D1 (MetaData "ConfigFile" "Hadolint.Config" "hadolint-1.17.3-G2WaGxB47NXBnokrgSQL29" False) (C1 (MetaCons "ConfigFile" PrefixI True) (S1 (MetaSel (Just "ignoredRules") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [IgnoreRule])) :*: S1 (MetaSel (Just "trustedRegistries") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [TrustedRegistry])))) |