-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Dockerfile Linter JavaScript API
--   
--   A smarter Dockerfile linter that helps you build best practice Docker
--   images.
@package hadolint
@version 2.13.1

module Hadolint.Rule
(|>) :: a -> (a -> b) -> b
infixl 0 |>
data DLSeverity
DLErrorC :: DLSeverity
DLWarningC :: DLSeverity
DLInfoC :: DLSeverity
DLStyleC :: DLSeverity
DLIgnoreC :: DLSeverity
withSeverity :: (DLSeverity -> Parser a) -> Node Pos -> Parser a
readEitherSeverity :: Text -> Either String DLSeverity
readMaybeSeverity :: Text -> Maybe DLSeverity
newtype RuleCode
RuleCode :: Text -> RuleCode
[unRuleCode] :: RuleCode -> Text
data CheckFailure
CheckFailure :: RuleCode -> DLSeverity -> Text -> Linenumber -> CheckFailure
[code] :: CheckFailure -> RuleCode
[severity] :: CheckFailure -> DLSeverity
[message] :: CheckFailure -> Text
[line] :: CheckFailure -> Linenumber
type Failures = Seq CheckFailure
data State a
State :: Failures -> a -> State a
[failures] :: State a -> Failures
[state] :: State a -> a
type LabelName = Text
data LabelType
Email :: LabelType
GitHash :: LabelType
RawText :: LabelType
Rfc3339 :: LabelType
SemVer :: LabelType
Spdx :: LabelType
Url :: LabelType
readEitherLabelType :: Text -> Either Text LabelType
withLabelType :: (LabelType -> Parser a) -> Node Pos -> Parser a
type LabelSchema = Map LabelName LabelType
withLineNumber :: (Linenumber -> t1 -> Instruction args -> t2) -> t1 -> InstructionPos args -> t2
addFail :: CheckFailure -> State a -> State a
emptyState :: a -> State a
simpleState :: State ()
modify :: (a -> a) -> State a -> State a
replaceWith :: a -> State a -> State a
type Rule args = Fold InstructionPos args Failures

-- | A simple rule that can be implemented in terms of returning True or
--   False for each instruction If you need to calculate some state to
--   decide upon past information, use <a>customRule</a>
simpleRule :: RuleCode -> DLSeverity -> Text -> (Instruction args -> Bool) -> Rule args

-- | A rule that accumulates a State a. The state contains the collection
--   of failed lines and a custom data type that can be used to track
--   properties for the rule. Each step always returns the new State, which
--   offers the ability to both accumulate properties and mark failures for
--   every given instruction.
customRule :: (Linenumber -> State a -> Instruction args -> State a) -> State a -> Rule args

-- | Similarly to <a>customRule</a>, it returns a State a for each step,
--   but it has the ability to run a done callback as the last step of the
--   rule. The done callback can be used to transform the state and mark
--   failures for any arbitrary line in the input. This helper is meant for
--   rules that need to do lookahead. Instead of looking ahead, the state
--   should store the facts and make a decision about them once the input
--   is finished.
veryCustomRule :: (Linenumber -> State a -> Instruction args -> State a) -> State a -> (State a -> Failures) -> Rule args
foldArguments :: (a -> b) -> Arguments a -> b

-- | Returns the result of running the check function on the image alias
--   name, if the passed instruction is a FROM instruction with a stage
--   alias. Otherwise, returns True.
aliasMustBe :: (Text -> Bool) -> Instruction a -> Bool
archiveFileFormatExtensions :: [Text]
dropQuotes :: Text -> Text

-- | Unwraps ONBUILD instructions and applies the rule to the content
onbuild :: Rule args -> Rule args
instance Data.Default.Internal.Default Hadolint.Rule.DLSeverity
instance GHC.Classes.Eq Hadolint.Rule.CheckFailure
instance GHC.Classes.Eq Hadolint.Rule.DLSeverity
instance GHC.Classes.Eq Hadolint.Rule.LabelType
instance GHC.Classes.Eq Hadolint.Rule.RuleCode
instance Data.YAML.FromYAML Hadolint.Rule.DLSeverity
instance Data.YAML.FromYAML Hadolint.Rule.LabelType
instance GHC.Internal.Generics.Generic Hadolint.Rule.DLSeverity
instance GHC.Internal.Data.String.IsString Hadolint.Rule.RuleCode
instance GHC.Internal.Base.Monoid Hadolint.Rule.DLSeverity
instance Control.DeepSeq.NFData Hadolint.Rule.DLSeverity
instance GHC.Classes.Ord Hadolint.Rule.CheckFailure
instance GHC.Classes.Ord Hadolint.Rule.DLSeverity
instance GHC.Classes.Ord Hadolint.Rule.RuleCode
instance Prettyprinter.Internal.Pretty Hadolint.Rule.DLSeverity
instance Prettyprinter.Internal.Pretty Hadolint.Rule.LabelType
instance Prettyprinter.Internal.Pretty Hadolint.Rule.RuleCode
instance GHC.Internal.Base.Semigroup Hadolint.Rule.DLSeverity
instance GHC.Internal.Show.Show Hadolint.Rule.CheckFailure
instance GHC.Internal.Show.Show Hadolint.Rule.DLSeverity
instance GHC.Internal.Show.Show Hadolint.Rule.LabelType
instance GHC.Internal.Show.Show Hadolint.Rule.RuleCode
instance GHC.Internal.Show.Show a => GHC.Internal.Show.Show (Hadolint.Rule.State a)

module Hadolint.Pragma
ignored :: Fold (InstructionPos Text) (IntMap (Set RuleCode))
globalIgnored :: Fold (InstructionPos Text) (Set RuleCode)
parseIgnorePragma :: Text -> Maybe [Text]
parseShell :: Text -> Maybe Text

module Hadolint.Formatter.Format
data OutputFormat
Json :: OutputFormat
SonarQube :: OutputFormat
TTY :: OutputFormat
CodeclimateJson :: OutputFormat
GitLabCodeclimateJson :: OutputFormat
Gnu :: OutputFormat
Checkstyle :: OutputFormat
Codacy :: OutputFormat
Sarif :: OutputFormat
data Result s e
Result :: Text -> Seq (ParseErrorBundle s e) -> Failures -> Result s e
[fileName] :: Result s e -> Text
[errors] :: Result s e -> Seq (ParseErrorBundle s e)
[checks] :: Result s e -> Failures
errorBundlePretty :: (VisualStream s, TraversableStream s, ShowErrorComponent e) => ParseErrorBundle s e -> String
errorMessage :: (VisualStream s, ShowErrorComponent e) => ParseErrorBundle s e -> String
errorMessageLine :: (VisualStream s, TraversableStream s, ShowErrorComponent e) => ParseErrorBundle s e -> String
errorPosition :: TraversableStream s => ParseErrorBundle s e -> SourcePos
errorPositionPretty :: TraversableStream s => ParseErrorBundle s e -> String
severityText :: DLSeverity -> Text
stripNewlines :: String -> String
readMaybeOutputFormat :: Text -> Maybe OutputFormat
toResult :: Text -> Either (ParseErrorBundle s e) Failures -> Result s e
instance Data.Default.Internal.Default Hadolint.Formatter.Format.OutputFormat
instance GHC.Classes.Eq Hadolint.Formatter.Format.OutputFormat
instance Data.YAML.FromYAML Hadolint.Formatter.Format.OutputFormat
instance GHC.Internal.Base.Monoid Hadolint.Formatter.Format.OutputFormat
instance Prettyprinter.Internal.Pretty Hadolint.Formatter.Format.OutputFormat
instance GHC.Internal.Base.Semigroup Hadolint.Formatter.Format.OutputFormat
instance GHC.Internal.Show.Show Hadolint.Formatter.Format.OutputFormat

module Hadolint.Formatter.TTY
printResults :: (VisualStream s, TraversableStream s, ShowErrorComponent e, Foldable f) => f (Result s e) -> Bool -> IO ()
formatCheck :: Bool -> Text -> CheckFailure -> Text
formatError :: (VisualStream s, TraversableStream s, ShowErrorComponent e) => ParseErrorBundle s e -> String

module Hadolint.Formatter.SonarQube
formatResult :: Result s e -> Seq (SonarQubeFormat s e)
printResults :: (VisualStream s, TraversableStream s, ShowErrorComponent e, Foldable f) => f (Result s e) -> IO ()
instance (Text.Megaparsec.Stream.VisualStream s, Text.Megaparsec.Stream.TraversableStream s, Text.Megaparsec.Error.ShowErrorComponent e) => Data.Aeson.Types.ToJSON.ToJSON (Hadolint.Formatter.SonarQube.SonarQubeFormat s e)

module Hadolint.Formatter.Json
printResults :: (VisualStream s, TraversableStream s, ShowErrorComponent e, Foldable f) => f (Result s e) -> IO ()
formatResult :: Result s e -> Seq (JsonFormat s e)
instance (Text.Megaparsec.Stream.VisualStream s, Text.Megaparsec.Stream.TraversableStream s, Text.Megaparsec.Error.ShowErrorComponent e) => Data.Aeson.Types.ToJSON.ToJSON (Hadolint.Formatter.Json.JsonFormat s e)


-- | Hadolint GNU Format Output
--   
--   See <a>https://www.gnu.org/prep/standards/html_node/Errors.html</a>
--   for reference.
module Hadolint.Formatter.Gnu
printResults :: (VisualStream s, TraversableStream s, ShowErrorComponent e, Foldable f) => f (Result s e) -> IO ()

module Hadolint.Formatter.Codeclimate
printResults :: (VisualStream s, TraversableStream s, ShowErrorComponent e, Foldable f) => f (Result s e) -> IO ()
printGitLabResults :: (Foldable f, VisualStream s, TraversableStream s, ShowErrorComponent e) => f (Result s e) -> IO ()
formatResult :: (VisualStream s, TraversableStream s, ShowErrorComponent e) => Result s e -> Seq Issue
formatGitLabResult :: (VisualStream s, TraversableStream s, ShowErrorComponent e) => Result s e -> Seq FingerprintIssue
instance GHC.Internal.Generics.Generic Hadolint.Formatter.Codeclimate.Pos
instance Data.Aeson.Types.ToJSON.ToJSON Hadolint.Formatter.Codeclimate.FingerprintIssue
instance Data.Aeson.Types.ToJSON.ToJSON Hadolint.Formatter.Codeclimate.Issue
instance Data.Aeson.Types.ToJSON.ToJSON Hadolint.Formatter.Codeclimate.Location
instance Data.Aeson.Types.ToJSON.ToJSON Hadolint.Formatter.Codeclimate.Pos

module Hadolint.Formatter.Codacy
printResults :: (Foldable f, VisualStream s, TraversableStream s, ShowErrorComponent e) => f (Result s e) -> IO ()
formatResult :: (VisualStream s, TraversableStream s, ShowErrorComponent e) => Result s e -> Seq Issue
instance Data.Aeson.Types.ToJSON.ToJSON Hadolint.Formatter.Codacy.Issue

module Hadolint.Formatter.Checkstyle
printResults :: (Foldable f, VisualStream s, TraversableStream s, ShowErrorComponent e) => f (Result s e) -> Maybe FilePath -> IO ()

module Hadolint.Config.Configuration
data Configuration
Configuration :: Bool -> Bool -> Bool -> OutputFormat -> [RuleCode] -> [RuleCode] -> [RuleCode] -> [RuleCode] -> [RuleCode] -> Set Registry -> LabelSchema -> Bool -> Bool -> DLSeverity -> Configuration
[noFail] :: Configuration -> Bool
[noColor] :: Configuration -> Bool
[verbose] :: Configuration -> Bool
[format] :: Configuration -> OutputFormat
[errorRules] :: Configuration -> [RuleCode]
[warningRules] :: Configuration -> [RuleCode]
[infoRules] :: Configuration -> [RuleCode]
[styleRules] :: Configuration -> [RuleCode]
[ignoreRules] :: Configuration -> [RuleCode]
[allowedRegistries] :: Configuration -> Set Registry
[labelSchema] :: Configuration -> LabelSchema
[strictLabels] :: Configuration -> Bool
[disableIgnorePragma] :: Configuration -> Bool
[failureThreshold] :: Configuration -> DLSeverity
data PartialConfiguration
PartialConfiguration :: Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe OutputFormat -> [RuleCode] -> [RuleCode] -> [RuleCode] -> [RuleCode] -> [RuleCode] -> Set Registry -> LabelSchema -> Maybe Bool -> Maybe Bool -> Maybe DLSeverity -> PartialConfiguration
[partialNoFail] :: PartialConfiguration -> Maybe Bool
[partialNoColor] :: PartialConfiguration -> Maybe Bool
[partialVerbose] :: PartialConfiguration -> Maybe Bool
[partialFormat] :: PartialConfiguration -> Maybe OutputFormat
[partialErrorRules] :: PartialConfiguration -> [RuleCode]
[partialWarningRules] :: PartialConfiguration -> [RuleCode]
[partialInfoRules] :: PartialConfiguration -> [RuleCode]
[partialStyleRules] :: PartialConfiguration -> [RuleCode]
[partialIgnoreRules] :: PartialConfiguration -> [RuleCode]
[partialAllowedRegistries] :: PartialConfiguration -> Set Registry
[partialLabelSchema] :: PartialConfiguration -> LabelSchema
[partialStrictLabels] :: PartialConfiguration -> Maybe Bool
[partialDisableIgnorePragma] :: PartialConfiguration -> Maybe Bool
[partialFailureThreshold] :: PartialConfiguration -> Maybe DLSeverity
applyPartialConfiguration :: Configuration -> PartialConfiguration -> Configuration
instance Data.Default.Internal.Default Hadolint.Config.Configuration.Configuration
instance Data.Default.Internal.Default Hadolint.Config.Configuration.PartialConfiguration
instance GHC.Classes.Eq Hadolint.Config.Configuration.Configuration
instance GHC.Classes.Eq Hadolint.Config.Configuration.OverrideConfig
instance GHC.Classes.Eq Hadolint.Config.Configuration.PartialConfiguration
instance Data.YAML.FromYAML Hadolint.Config.Configuration.OverrideConfig
instance Data.YAML.FromYAML Hadolint.Config.Configuration.PartialConfiguration
instance GHC.Internal.Generics.Generic Hadolint.Config.Configuration.OverrideConfig
instance GHC.Internal.Base.Monoid Hadolint.Config.Configuration.OverrideConfig
instance GHC.Internal.Base.Monoid Hadolint.Config.Configuration.PartialConfiguration
instance Prettyprinter.Internal.Pretty Hadolint.Config.Configuration.Configuration
instance GHC.Internal.Base.Semigroup Hadolint.Config.Configuration.OverrideConfig
instance GHC.Internal.Base.Semigroup Hadolint.Config.Configuration.PartialConfiguration
instance GHC.Internal.Show.Show Hadolint.Config.Configuration.Configuration
instance GHC.Internal.Show.Show Hadolint.Config.Configuration.OverrideConfig
instance GHC.Internal.Show.Show Hadolint.Config.Configuration.PartialConfiguration

module Hadolint.Config.Environment
getConfigFromEnvironment :: IO PartialConfiguration

module Hadolint.Config.Configfile
getConfigFromFile :: Maybe FilePath -> Bool -> IO (Either String PartialConfiguration)

module Hadolint.Config.Commandline
data CommandlineConfig
CommandlineConfig :: Bool -> Maybe FilePath -> [String] -> Maybe FilePath -> PartialConfiguration -> CommandlineConfig
[showVersion] :: CommandlineConfig -> Bool
[configFile] :: CommandlineConfig -> Maybe FilePath
[dockerfiles] :: CommandlineConfig -> [String]
[filePathInReportOption] :: CommandlineConfig -> Maybe FilePath
[configuration] :: CommandlineConfig -> PartialConfiguration
parseCommandline :: Parser CommandlineConfig
instance GHC.Classes.Eq Hadolint.Config.Commandline.CommandlineConfig
instance GHC.Internal.Show.Show Hadolint.Config.Commandline.CommandlineConfig

module Hadolint.Config
data CommandlineConfig
CommandlineConfig :: Bool -> Maybe FilePath -> [String] -> Maybe FilePath -> PartialConfiguration -> CommandlineConfig
[showVersion] :: CommandlineConfig -> Bool
[configFile] :: CommandlineConfig -> Maybe FilePath
[dockerfiles] :: CommandlineConfig -> [String]
[filePathInReportOption] :: CommandlineConfig -> Maybe FilePath
[configuration] :: CommandlineConfig -> PartialConfiguration
getConfigFromEnvironment :: IO PartialConfiguration
getConfigFromFile :: Maybe FilePath -> Bool -> IO (Either String PartialConfiguration)
parseCommandline :: Parser CommandlineConfig

module Hadolint.Rule.DL3000
rule :: Rule args

module Hadolint.Rule.DL3002
rule :: Rule args
instance GHC.Internal.Show.Show Hadolint.Rule.DL3002.Acc

module Hadolint.Rule.DL3006
rule :: Rule args

module Hadolint.Rule.DL3007
rule :: Rule args

module Hadolint.Rule.DL3011
rule :: Rule args

module Hadolint.Rule.DL3012
rule :: Rule args

module Hadolint.Rule.DL3020
rule :: Rule args

module Hadolint.Rule.DL3021
rule :: Rule args

module Hadolint.Rule.DL3022
rule :: Rule args
instance GHC.Classes.Eq Hadolint.Rule.DL3022.Acc

module Hadolint.Rule.DL3023
rule :: Rule args

module Hadolint.Rule.DL3024
rule :: Rule args

module Hadolint.Rule.DL3025
rule :: Rule args

module Hadolint.Rule.DL3026
rule :: Set Registry -> Rule args

module Hadolint.Rule.DL3029
rule :: Rule args

module Hadolint.Rule.DL3043
rule :: Rule args

module Hadolint.Rule.DL3044
rule :: Rule args

module Hadolint.Rule.DL3045
rule :: Rule args
instance GHC.Classes.Eq Hadolint.Rule.DL3045.Stage
instance GHC.Classes.Ord Hadolint.Rule.DL3045.Stage

module Hadolint.Rule.DL3048
rule :: Rule args

module Hadolint.Rule.DL3049
rule :: LabelSchema -> Rule args
instance GHC.Classes.Eq Hadolint.Rule.DL3049.StageID
instance GHC.Classes.Ord Hadolint.Rule.DL3049.StageID
instance GHC.Internal.Show.Show Hadolint.Rule.DL3049.Acc
instance GHC.Internal.Show.Show Hadolint.Rule.DL3049.StageID

module Hadolint.Rule.DL3050
rule :: LabelSchema -> Bool -> Rule args

module Hadolint.Rule.DL3051
rule :: LabelSchema -> Rule args

module Hadolint.Rule.DL3052
rule :: LabelSchema -> Rule args

module Hadolint.Rule.DL3053
rule :: LabelSchema -> Rule args

module Hadolint.Rule.DL3054
rule :: LabelSchema -> Rule args

module Hadolint.Rule.DL3055
rule :: LabelSchema -> Rule args

module Hadolint.Rule.DL3056
rule :: LabelSchema -> Rule args

module Hadolint.Rule.DL3057
rule :: Rule args
instance GHC.Classes.Eq Hadolint.Rule.DL3057.StageID
instance GHC.Classes.Ord Hadolint.Rule.DL3057.StageID
instance GHC.Internal.Show.Show Hadolint.Rule.DL3057.Acc
instance GHC.Internal.Show.Show Hadolint.Rule.DL3057.StageID

module Hadolint.Rule.DL3058
rule :: LabelSchema -> Rule args

module Hadolint.Rule.DL3061
rule :: Rule args

module Hadolint.Rule.DL4000
rule :: Rule args

module Hadolint.Rule.DL4003
rule :: Rule args

module Hadolint.Rule.DL4004
rule :: Rule args

module Hadolint.Shell
data CmdPart
CmdPart :: Text -> Int -> CmdPart
[arg] :: CmdPart -> Text
[partId] :: CmdPart -> Int
data Command
Command :: Text -> [CmdPart] -> [CmdPart] -> Command
[name] :: Command -> Text
[arguments] :: Command -> [CmdPart]
[flags] :: Command -> [CmdPart]
data ParsedShell
ParsedShell :: Text -> ParseResult -> [Command] -> ParsedShell
[original] :: ParsedShell -> Text
[parsed] :: ParsedShell -> ParseResult
[presentCommands] :: ParsedShell -> [Command]
data ShellOpts
ShellOpts :: Text -> Set Text -> ShellOpts
[shellName] :: ShellOpts -> Text
[envVars] :: ShellOpts -> Set Text
defaultShellOpts :: ShellOpts
addVars :: [Text] -> ShellOpts -> ShellOpts
setShell :: Text -> ShellOpts -> ShellOpts
shellcheck :: ShellOpts -> ParsedShell -> [PositionedComment]
nonPosixShells :: [Text]
hasUnsupportedShebang :: Text -> Bool
parseShell :: Text -> ParsedShell
findCommandsInResult :: ParseResult -> [Token]
extractTokensWith :: (Token -> Maybe a) -> ParseResult -> [a]
findPipes :: ParsedShell -> [Token]
hasPipes :: ParsedShell -> Bool
allCommands :: (Command -> Bool) -> ParsedShell -> Bool
noCommands :: (Command -> Bool) -> ParsedShell -> Bool
anyCommands :: (Command -> Bool) -> ParsedShell -> Bool
findCommandNames :: ParsedShell -> [Text]
cmdHasArgs :: Text -> [Text] -> Command -> Bool
cmdsHaveArgs :: [Text] -> [Text] -> Command -> Bool
cmdHasPrefixArg :: Text -> Text -> Command -> Bool
extractAllArgs :: Token -> [CmdPart]
getArgs :: Command -> [Text]
getAllFlags :: [CmdPart] -> [CmdPart]
getArgsNoFlags :: Command -> [Text]
hasFlag :: Text -> Command -> Bool
countFlag :: Text -> Command -> Int
hasAnyFlag :: [Text] -> Command -> Bool
hasArg :: Text -> Command -> Bool
dropFlagArg :: [Text] -> Command -> Command

-- | given a flag and a command, return list of arguments for that
--   particular flag. E.g., if the command is `useradd -u 12345 luser` and
--   this function is called for the flag <tt>u</tt>, it returns ["12345"].
getFlagArg :: Text -> Command -> [Text]
getValueId :: Int -> [CmdPart] -> Int

-- | Check if a command contains a program call in the Run instruction
usingProgram :: Text -> ParsedShell -> Bool
isPipInstall :: Command -> Bool
instance GHC.Classes.Eq Hadolint.Shell.CmdPart
instance GHC.Classes.Eq Hadolint.Shell.Command
instance GHC.Internal.Show.Show Hadolint.Shell.CmdPart
instance GHC.Internal.Show.Show Hadolint.Shell.Command

module Hadolint.Rule.Shellcheck
rule :: Rule ParsedShell

module Hadolint.Rule.DL4006
rule :: Rule ParsedShell

module Hadolint.Rule.DL4005
rule :: Rule ParsedShell

module Hadolint.Rule.DL4001
rule :: Rule ParsedShell

module Hadolint.Rule.DL3060
rule :: Rule ParsedShell
instance GHC.Internal.Show.Show Hadolint.Rule.DL3060.Acc

module Hadolint.Rule.DL3059

-- | This Rule catches multiple consecutive <tt>RUN</tt> instructions. It
--   ignores the case where multiple commands are chained together (e.g.
--   with <a>&amp;&amp;</a>) because in that case the programmer most
--   likely has deliberately chosen to use multiple <tt>RUN</tt>
--   instructions. Cases where --mount=xxx flags differ are excluded as
--   well.
rule :: Rule ParsedShell
instance GHC.Classes.Eq Hadolint.Rule.DL3059.Acc

module Hadolint.Rule.DL3047
rule :: Rule ParsedShell

module Hadolint.Rule.DL3046
rule :: Rule ParsedShell

module Hadolint.Rule.DL3042
rule :: Rule ParsedShell
instance GHC.Classes.Eq Hadolint.Rule.DL3042.Stage
instance GHC.Classes.Ord Hadolint.Rule.DL3042.Stage

module Hadolint.Rule.DL3041
rule :: Rule ParsedShell

module Hadolint.Rule.DL3040
rule :: Rule ParsedShell

module Hadolint.Rule.DL3038
rule :: Rule ParsedShell

module Hadolint.Rule.DL3037
rule :: Rule ParsedShell

module Hadolint.Rule.DL3036
rule :: Rule ParsedShell

module Hadolint.Rule.DL3035
rule :: Rule ParsedShell

module Hadolint.Rule.DL3034
rule :: Rule ParsedShell

module Hadolint.Rule.DL3033
rule :: Rule ParsedShell

module Hadolint.Rule.DL3032
rule :: Rule ParsedShell

module Hadolint.Rule.DL3030
rule :: Rule ParsedShell

module Hadolint.Rule.DL3028
rule :: Rule ParsedShell

module Hadolint.Rule.DL3027
rule :: Rule ParsedShell

module Hadolint.Rule.DL3019
rule :: Rule ParsedShell

module Hadolint.Rule.DL3018
rule :: Rule ParsedShell

module Hadolint.Rule.DL3016
rule :: Rule ParsedShell

module Hadolint.Rule.DL3015
rule :: Rule ParsedShell

module Hadolint.Rule.DL3014
rule :: Rule ParsedShell

module Hadolint.Rule.DL3013
rule :: Rule ParsedShell

module Hadolint.Rule.DL3010
rule :: Rule ParsedShell

module Hadolint.Rule.DL3009
rule :: Rule ParsedShell
instance GHC.Classes.Eq Hadolint.Rule.DL3009.Acc
instance GHC.Internal.Show.Show Hadolint.Rule.DL3009.Acc

module Hadolint.Rule.DL3008
rule :: Rule ParsedShell

module Hadolint.Rule.DL3004
rule :: Rule ParsedShell

module Hadolint.Rule.DL3003
rule :: Rule ParsedShell

module Hadolint.Rule.DL3001
rule :: Rule ParsedShell

module Hadolint.Rule.DL1001
rule :: Rule ParsedShell

module Hadolint.Process
run :: Configuration -> [InstructionPos Text] -> Failures

module Hadolint.Lint

-- | Performs the process of parsing the dockerfile and analyzing it with
--   all the applicable rules, depending on the list of ignored rules.
lintIO :: Configuration -> NonEmpty FilePath -> IO (NonEmpty (Result Text DockerfileError))
lint :: Configuration -> [(Text, Either Error Dockerfile)] -> [Result Text DockerfileError]
analyze :: Configuration -> Dockerfile -> Seq CheckFailure
type TrustedRegistry = Text

module Hadolint.Meta
getVersion :: String
getShortVersion :: String

module Hadolint.Formatter.Sarif
printResults :: (VisualStream s, TraversableStream s, ShowErrorComponent e, Foldable f) => f (Result s e) -> IO ()
formatResult :: Result s e -> Seq (SarifFormat s e)
instance (Text.Megaparsec.Stream.VisualStream s, Text.Megaparsec.Stream.TraversableStream s, Text.Megaparsec.Error.ShowErrorComponent e) => Data.Aeson.Types.ToJSON.ToJSON (Hadolint.Formatter.Sarif.SarifFormat s e)

module Hadolint.Formatter
data OutputFormat
Json :: OutputFormat
SonarQube :: OutputFormat
TTY :: OutputFormat
CodeclimateJson :: OutputFormat
GitLabCodeclimateJson :: OutputFormat
Gnu :: OutputFormat
Checkstyle :: OutputFormat
Codacy :: OutputFormat
Sarif :: OutputFormat
data Result s e
Result :: Text -> Seq (ParseErrorBundle s e) -> Failures -> Result s e
[fileName] :: Result s e -> Text
[errors] :: Result s e -> Seq (ParseErrorBundle s e)
[checks] :: Result s e -> Failures
printResults :: Foldable f => OutputFormat -> Bool -> Maybe FilePath -> f (Result Text DockerfileError) -> IO ()
readMaybeOutputFormat :: Text -> Maybe OutputFormat

module Hadolint
data CheckFailure
CheckFailure :: RuleCode -> DLSeverity -> Text -> Linenumber -> CheckFailure
[code] :: CheckFailure -> RuleCode
[severity] :: CheckFailure -> DLSeverity
[message] :: CheckFailure -> Text
[line] :: CheckFailure -> Linenumber
data DLSeverity
DLErrorC :: DLSeverity
DLWarningC :: DLSeverity
DLInfoC :: DLSeverity
DLStyleC :: DLSeverity
DLIgnoreC :: DLSeverity
type LabelSchema = Map LabelName LabelType
type LabelName = Text
data LabelType
Email :: LabelType
GitHash :: LabelType
RawText :: LabelType
Rfc3339 :: LabelType
SemVer :: LabelType
Spdx :: LabelType
Url :: LabelType
