1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-28 08:49:11 +02:00

Cyan for readability

- Dark blue on black is not very readable on a lot of screens.
This commit is contained in:
Paul Stølen 2018-06-06 15:23:12 +02:00
parent abf02d70f2
commit 378f2d32b5

View File

@ -21,7 +21,7 @@ func (f *Stylish) Name() string {
}
func formatFailure(failure lint.Failure, severity lint.Severity) []string {
fString := color.BlueString(failure.Failure)
fString := color.CyanString(failure.Failure)
fName := color.RedString(failure.RuleName)
lineColumn := failure.Position
pos := fmt.Sprintf("(%d, %d)", lineColumn.Start.Line, lineColumn.Start.Column)