From b883d8b02f16f51c0a85ac325ce60a2db8c95bad Mon Sep 17 00:00:00 2001 From: Jakub Sobon Date: Sat, 14 Nov 2020 00:44:45 -0500 Subject: [PATCH 1/2] Addressing some lint issues. --- terminal/tcell/event.go | 2 -- widgets/linechart/value_formatter.go | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/terminal/tcell/event.go b/terminal/tcell/event.go index a778dfe..09f05e4 100644 --- a/terminal/tcell/event.go +++ b/terminal/tcell/event.go @@ -135,8 +135,6 @@ func convMouse(event *tcell.EventMouse) terminalapi.Event { } } - // Get only button events, not wheel events - tcellBtn &= tcell.ButtonMask(0xff) switch tcellBtn = event.Buttons(); tcellBtn { case tcell.ButtonNone: button = mouse.ButtonRelease diff --git a/widgets/linechart/value_formatter.go b/widgets/linechart/value_formatter.go index c629469..4621648 100644 --- a/widgets/linechart/value_formatter.go +++ b/widgets/linechart/value_formatter.go @@ -128,7 +128,7 @@ func ValueFormatterSuffix(decimals int, suffix string) ValueFormatter { } // valueFormatterSuffixWithTransformer is a factory that returns a formatter -// that will apply a tranform function to the received value before +// that will apply a transform function to the received value before // returning the decimal with suffix representation. func valueFormatterSuffixWithTransformer(decimals int, suffix string, transformFunc func(float64) float64) ValueFormatter { dFmt := suffixDecimalFormat(decimals, suffix) From 25aa60b5f501e43a40fb38f274342ed93df61038 Mon Sep 17 00:00:00 2001 From: Jakub Sobon Date: Sat, 14 Nov 2020 00:45:34 -0500 Subject: [PATCH 2/2] Updating CHANGELOG. --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f2c1a2d..7e31c30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- addressing some lint issues. - coveralls again triggers and reports on PRs. ## [0.12.2] - 31-Aug-2020