nitter/nitters/gitea/templates/issue_comment.tmpl.md

18 lines
318 B
Markdown
Raw Permalink Normal View History

2023-03-08 15:13:49 +00:00
{{- if .Issue.Severity }}
Linter({{ .Issue.severity }}): {{ .Issue.FromLinter }}
{{- else }}
**Linter:** {{ .Issue.FromLinter }}
2023-03-08 15:13:49 +00:00
{{- end }}
{{ .Issue.Text }}
{{- if .Issue.Replacement }}
**Suggestion:**
```go
{{- range $i, $replacement := .Issue.Replacement.NewLines }}
{{ $replacement }}
{{- end }}
```
{{- end }}