18 lines
314 B
Markdown
18 lines
314 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 }}
|