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=0.9.0

<package id="Cake.Issues.EsLint" version="0.9.0" />

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

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

Aliases

Contains functionality for reading issues reported by ESLint.

Issue Providers

EsLintAddRuleUrlResolver(ICakeContext, Func<BaseRuleDescription, Uri>) Registers a new URL resolver with default priority of 0.
EsLintAddRuleUrlResolver(ICakeContext, Func<BaseRuleDescription, Uri>, int) Registers a new URL resolver with a specific priority.
EsLintIssues(ICakeContext, EsLintIssuesSettings) Gets an instance of a provider for issues reported by ESLint using specified settings.
EsLintIssuesFromContent(ICakeContext, string, BaseEsLintLogFileFormat) Gets an instance of a provider for issues reported by ESLint using log file content.
EsLintIssuesFromFilePath(ICakeContext, 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.