hadolint-1.16.1: Dockerfile Linter JavaScript API

Safe HaskellNone
LanguageHaskell2010

Hadolint.Lint

Synopsis

Documentation

data LintOptions Source #

Instances
Show LintOptions Source # 
Instance details

Defined in Hadolint.Lint

lint :: LintOptions -> NonEmpty String -> IO (Result Text DockerfileError) Source #

Performs the process of parsing the dockerfile and analyzing it with all the applicable rules, depending on the list of ignored rules. Depending on the preferred printing format, it will output the results to stdout

analyzeAll :: RulesConfig -> Dockerfile -> [RuleCheck] Source #

Returns the result of applying all the rules to the given dockerfile

analyzeEither :: RulesConfig -> Either t Dockerfile -> [RuleCheck] Source #

Helper to analyze AST quickly in GHCI