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

18 lines
314 B
Markdown
Raw Normal View History

2023-03-08 15:13:49 +00:00
{{- 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 }}