EsLintIssuesAliases.

EsLintIssues(ICakeContext, EsLintIssuesSettings) Method

Summary

Gets an instance of a provider for issues reported by ESLint using specified settings.

Syntax

public static IIssueProvider EsLintIssues(this ICakeContext context, EsLintIssuesSettings settings)

Examples

Read issues reported by ESLint:

 var settings =
         new EsLintIssuesSettings(@"c:\build\ESLint.log");

     var issues =
         ReadIssues(
             EsLintIssues(settings),
             @"c:\repo");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
settings EsLintIssuesSettings Settings for reading the ESLint log.

Return Value

Type Description
IIssueProvider Instance of a provider for issues reported by ESLint.
GitHub