Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

StyleCopHelper

Nested types and modules

TypeDescription
StyleCopErrorLevel
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

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

StyleCopParams
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Parameter type for the StyleCop tool

Functions and values

Function or valueDescription
StyleCop(setParams)
Signature: setParams:(StyleCopParams -> StyleCopParams) -> unit
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

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
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

StyleCop default parameters