Cake.Issues.EsLint

The EsLint support for the Cake.Issues addin allows you to read issues logged by ESLint. This addin provides the aliases for reading ESLint issues and providing them to the Cake.Issues addin. It also requires the core Cake.Issues addin. There are also additional addins for generating reports or posting issues to pull requests. See cakeissues.net for an overview of the whole ecosystem of addins for working with issues in Cake scripts.

#addin nuget:?package=Cake.Issues.EsLint&version=4.1.0

dotnet add package Cake.Issues.EsLint --version 4.1.0

<PackageReference Include="Cake.Issues.EsLint" Version="4.1.0" />

Aliases

Contains functionality for reading issues reported by ESLint.

Issue Providers

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