Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data IgnoreCommand = IgnoreLine
- filterViolations :: [Violation] -> FilePath -> ByteString -> [Violation]
Documentation
data IgnoreCommand Source #
Instances
Eq IgnoreCommand Source # | |
Defined in Krank.Checkers.Ignore (==) :: IgnoreCommand -> IgnoreCommand -> Bool # (/=) :: IgnoreCommand -> IgnoreCommand -> Bool # | |
Show IgnoreCommand Source # | |
Defined in Krank.Checkers.Ignore showsPrec :: Int -> IgnoreCommand -> ShowS # show :: IgnoreCommand -> String # showList :: [IgnoreCommand] -> ShowS # |
:: [Violation] | List of Violation to filter |
-> FilePath | Path of the file |
-> ByteString | Content of the file |
-> [Violation] |
Takes a list of Violation, some ignore commands and remove all those that are ignored due to an ignore marker