Features
The Cake.Issues.EsLint addin provides the following features.
Tip: Running ESLint
ESLint can be run with Cake.ESLint addin.
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¶
-
IIssue.ProviderType
-
IIssue.ProviderName
-
IIssue.Run
(1) -
IIssue.Identifier
(2) -
IIssue.ProjectName
-
IIssue.ProjectFileRelativePath
-
IIssue.AffectedFileRelativePath
-
IIssue.Line
-
IIssue.EndLine
-
IIssue.Column
-
IIssue.EndColumn
-
IIssue.FileLink
(3) -
IIssue.MessageText
-
IIssue.MessageHtml
-
IIssue.MessageMarkdown
-
IIssue.Priority
-
IIssue.PriorityName
-
IIssue.RuleId
-
IIssue.RuleUrl
(4)
- Can be set while reading issues
- Set to
IIssue.MessageText
- Can be set while reading issues
- Support for custom rules can be added through a custom EsLintAddRuleUrlResolver