The Cake.Issues.EsLint addin provides the following features.
Basic features
- Reads issues reported by ESLint.
- Provides URLs for all issues.
- Support for custom URL resolving using the EsLintAddRuleUrlResolver alias.
Supported log file formats
- EsLintJsonFormat alias for reading issues from log files created by ESLint json formatter.
Supported IIssue properties
Property | Remarks | |
---|---|---|
IIssue.ProviderType |
||
IIssue.ProviderName |
||
IIssue.Run |
Can be set while reading issues | |
IIssue.Identifier |
Set to IIssue.MessageText |
|
IIssue.ProjectName |
||
IIssue.ProjectFileRelativePath |
||
IIssue.AffectedFileRelativePath |
||
IIssue.Line |
||
IIssue.EndLine |
||
IIssue.Column |
||
IIssue.EndColumn |
||
IIssue.MessageText |
||
IIssue.MessageHtml |
||
IIssue.MessageMarkdown |
||
IIssue.Priority |
||
IIssue.PriorityName |
||
IIssue.Rule |
||
IIssue.RuleUrl |
Support for custom rules can be added through a custom EsLintAddRuleUrlResolver |