| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Krank.Checkers.Ignore
Synopsis
- data IgnoreCommand = IgnoreLine
- filterViolations :: [Violation] -> FilePath -> ByteString -> [Violation]
Documentation
data IgnoreCommand Source #
Constructors
| IgnoreLine |
Instances
| Eq IgnoreCommand Source # | |
Defined in Krank.Checkers.Ignore Methods (==) :: IgnoreCommand -> IgnoreCommand -> Bool # (/=) :: IgnoreCommand -> IgnoreCommand -> Bool # | |
| Show IgnoreCommand Source # | |
Defined in Krank.Checkers.Ignore Methods showsPrec :: Int -> IgnoreCommand -> ShowS # show :: IgnoreCommand -> String # showList :: [IgnoreCommand] -> ShowS # | |
Arguments
| :: [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