MarkdownlintIssuesAliases Class

Summary

Contains functionality for reading issues from Markdownlint log files.
Assembly
Cake.Issues.Markdownlint.dll
Namespace
Cake.Issues.Markdownlint
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["MarkdownlintIssuesAliases"] class Type type-node

Syntax

public static class MarkdownlintIssuesAliases

Attributes

Type Description
CakeAliasCategoryAttribute

Methods

Name Value Summary
MarkdownlintAddRuleUrlResolver(ICakeContext, Func<MarkdownlintRuleDescription, Uri>, int) void
Registers a new URL resolver with a specific priority.
static
MarkdownlintAddRuleUrlResolver(ICakeContext, Func<MarkdownlintRuleDescription, Uri>) void
Registers a new URL resolver with default priority of 0.
static
MarkdownlintCliJsonLogFileFormat(ICakeContext) BaseMarkdownlintLogFileFormat
Gets an instance for the log format as written by markdownlint-cli with --json parameter.
static
MarkdownlintCliLogFileFormat(ICakeContext) BaseMarkdownlintLogFileFormat
Gets an instance for the log format as written by markdownlint-cli.
static
MarkdownlintIssues(ICakeContext, MarkdownlintIssuesSettings) IIssueProvider
Gets an instance of a provider for issues reported by Markdownlint using specified settings.
static
MarkdownlintIssuesFromContent(ICakeContext, string, BaseMarkdownlintLogFileFormat) IIssueProvider
Gets an instance of a provider for issues reported by Markdownlint using log file content.
static
MarkdownlintIssuesFromFilePath(ICakeContext, FilePath, BaseMarkdownlintLogFileFormat) IIssueProvider
Gets an instance of a provider for issues reported by Markdownlint using a log file from disk.
static
MarkdownlintIssuesProviderTypeName(ICakeContext) string
Gets the name of the Markdownlint issue provider. This name can be used to identify issues based on the ProviderType property.
static
MarkdownlintV1LogFileFormat(ICakeContext) BaseMarkdownlintLogFileFormat
Gets an instance for the log format as written by Markdownlint with options.resultVersion set to 1.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin