Note: This API documentation is for FAKE version 4. The migration API documentation can be found here. The API documentation for the new fake 5 modules can be found here

StyleCopHelper

Nested types and modules

TypeDescription
StyleCopErrorLevel

Type to define the behavior of how StyleCop must react on violations

StyleCopParams

Parameter type for the StyleCop tool

Functions and values

Function or valueDescription
StyleCop(setParams)
Signature: setParams:(StyleCopParams -> StyleCopParams) -> unit

Runs the StyleCop tool, using the listed source, project and solution files.

Parameters

  • setParams - Function used to overwrite the StyleCop default parameters.

Sample

1: 
2: 
StyleCop (fun p -> { p with 
                SolutionFiles = [ artifactsDir @@ "MySolution.sln" ] }) 
StyleCopDefaults
Signature: StyleCopParams

StyleCop default parameters