Skip to content

Commit

Permalink
chore(): Upgrade to go 1.14; Linters config
Browse files Browse the repository at this point in the history
  • Loading branch information
obalunenko committed Mar 7, 2020
1 parent deeb147 commit 846c298
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ linters-settings:
goconst:
min-len: 2
min-occurrences: 2
gomnd:
settings:
mnd:
# the list of enabled checks, see https://github.com/tommy-muehle/go-mnd/#checks for description.
checks: case,condition,operation,return
misspell:
locale: US
lll:
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
include:
- stage: Unit Tests, Metalinter, Sonar
go:
- 1.13.x
- 1.14.x
os:
- linux
install:
Expand All @@ -32,7 +32,7 @@ jobs:

- stage: Build Application
go:
- 1.13.x
- 1.14.x
os:
- linux
go_import_path: github.com/oleg-balunenko/instadiff-cli
Expand Down
1 change: 1 addition & 0 deletions pkg/bar/bar.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ func (b *realBar) Run(ctx context.Context) {
if err := b.bar.Finish(); err != nil {
log.Errorf("error when finish bar: %v", err)
}

fmt.Println()
}()

Expand Down

0 comments on commit 846c298

Please sign in to comment.