18 lines
No EOL
318 B
Markdown
18 lines
No EOL
318 B
Markdown
{{- if .Issue.Severity }}
|
|
Linter({{ .Issue.severity }}): {{ .Issue.FromLinter }}
|
|
{{- else }}
|
|
**Linter:** {{ .Issue.FromLinter }}
|
|
{{- end }}
|
|
|
|
{{ .Issue.Text }}
|
|
|
|
{{- if .Issue.Replacement }}
|
|
|
|
**Suggestion:**
|
|
|
|
```go
|
|
{{- range $i, $replacement := .Issue.Replacement.NewLines }}
|
|
{{ $replacement }}
|
|
{{- end }}
|
|
```
|
|
{{- end }} |