EsLintIssuesAliases Class

Summary

Contains functionality for reading issues reported by ESLint.
Assembly
Cake.Issues.EsLint.dll
Namespace
Cake.Issues.EsLint
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["EsLintIssuesAliases"] class Type type-node

Syntax

public static class EsLintIssuesAliases

Attributes

Type Description
CakeAliasCategoryAttribute

Methods

Name Value Summary
EsLintAddRuleUrlResolver(ICakeContext, Func<BaseRuleDescription, Uri>) void
Registers a new URL resolver with default priority of 0.
static
EsLintAddRuleUrlResolver(ICakeContext, Func<BaseRuleDescription, Uri>, int) void
Registers a new URL resolver with a specific priority.
static
EsLintIssues(ICakeContext, EsLintIssuesSettings) IIssueProvider
Gets an instance of a provider for issues reported by ESLint using specified settings.
static
EsLintIssuesFromContent(ICakeContext, string, BaseEsLintLogFileFormat) IIssueProvider
Gets an instance of a provider for issues reported by ESLint using log file content.
static
EsLintIssuesFromFilePath(ICakeContext, FilePath, BaseEsLintLogFileFormat) IIssueProvider
Gets an instance of a provider for issues reported by ESLint using a log file from disk.
static
EsLintIssuesProviderTypeName(ICakeContext) string
Gets the name of the ESLint issue provider. This name can be used to identify issues based on the ProviderType property.
static
EsLintJsonFormat(ICakeContext) BaseEsLintLogFileFormat
Gets an instance for the ESLint JSON log format as written by the JSON formatter.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin