MarkdownlintAliases.

RunMarkdownlintNodeJsForSingleFile(ICakeContext, FilePath) Method

Summary

Runs Node.js markdownlint-cli for a specific file with default settings.
Assembly
Cake.Markdownlint.dll
Namespace
Cake.Markdownlint
Containing Type
MarkdownlintAliases

Syntax

public static void RunMarkdownlintNodeJsForSingleFile(this ICakeContext context, FilePath file)

Examples

RunMarkdownlintNodeJsForSingleFile(@"c:\foo.md");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The context.
file FilePath Path to the file to lint.

Return Value

Type Description
void