Indent multi-line messages/errors.

This commit is contained in:
Alec Thomas
2018-06-20 12:44:18 +10:00
parent 9a68d32e72
commit 3a2f3eebdd
4 changed files with 25 additions and 5 deletions
+1
View File
@@ -31,3 +31,4 @@ issues:
# Very commonly not checked.
- 'Error return value of .(.*\.Help|.*\.MarkFlagRequired|(os\.)?std(out|err)\..*|.*Close|.*Flush|os\.Remove(All)?|.*printf?|os\.(Un)?Setenv). is not checked'
- 'exported method (.*\.MarshalJSON|.*\.UnmarshalJSON) should have comment or be unexported'
- 'composite literal uses unkeyed fields'