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:
parent
abf02d70f2
commit
378f2d32b5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user