navigation

Suppression

Namespace: FSharpLint.Framework
Parent: FSharpLint.Framework
Declared Types
Type Description
LineSuppression

Specifies the suppressions for an individual line.

SuppressionInfo

Represents rule suppression information.


Values and Functions
Name Description
parseSuppressionInfo

Signature: rules:Set -> lines:string list -> LineSuppression list

Parses a given file to find lines containing rule suppressions.

isSuppressed

Signature: rule:String -> line:int -> lineSuppressions:LineSuppression list -> bool

Check if a rule is suppressed for a given line. Given line suppressions must be in order by line - see parseSuppressionInfo.