hadolint-1.16.1: Dockerfile Linter JavaScript API

Safe HaskellNone
LanguageHaskell2010

Hadolint.Formatter.Format

Synopsis

Documentation

errorBundlePretty #

Arguments

:: (Stream s, ShowErrorComponent e) 
=> ParseErrorBundle s e

Parse error bundle to display

-> String

Textual rendition of the bundle

Pretty-print a ParseErrorBundle. All ParseErrors in the bundle will be pretty-printed in order together with the corresponding offending lines by doing a single efficient pass over the input stream. The rendered String always ends with a newline.

Since: megaparsec-7.0.0

data Result s e Source #

Constructors

Result 
Instances
Semigroup (Result s e) Source # 
Instance details

Defined in Hadolint.Formatter.Format

Methods

(<>) :: Result s e -> Result s e -> Result s e #

sconcat :: NonEmpty (Result s e) -> Result s e #

stimes :: Integral b => b -> Result s e -> Result s e #

Monoid (Result s e) Source # 
Instance details

Defined in Hadolint.Formatter.Format

Methods

mempty :: Result s e #

mappend :: Result s e -> Result s e -> Result s e #

mconcat :: [Result s e] -> Result s e #