This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Issues.EsLint.
Summary
Gets an instance of a provider for issues reported by ESLint using specified settings.
- Assembly
- Cake
.Issues .EsLint .dll - Namespace
- Cake
.Issues .EsLint - Containing Type
- EsLintIssuesAliases
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 |
|---|---|
| Cake |
|
| Cake |
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. |
