Skip to content

Commit

Permalink
fix check version
Browse files Browse the repository at this point in the history
  • Loading branch information
sivchari committed Sep 6, 2021
1 parent a1a3f71 commit 2f08e04
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .golangci.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ linters-settings:

tenv:
# The following configurations enable checks prior to Go 1.17.
f: false
force: false

unparam:
# Inspect exported functions, default is false. Set to true if no external program/library imports your code.
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ require (
github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c
github.com/shirou/gopsutil/v3 v3.21.7
github.com/sirupsen/logrus v1.8.1
github.com/sivchari/tenv v1.0.2
github.com/sivchari/tenv v1.0.3
github.com/sonatard/noctx v0.0.1
github.com/sourcegraph/go-diff v0.6.1
github.com/spf13/cobra v1.2.1
Expand Down
2 changes: 2 additions & 0 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/config/linters_settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ type ThelperSettings struct {
}

type TenvSettings struct {
Force bool `mapstructure:"f"`
Force bool `mapstructure:"force"`
}

type UnparamSettings struct {
Expand Down
2 changes: 1 addition & 1 deletion test/testdata/configs/tenv.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
linters-settings:
tenv:
f: true
force: true

0 comments on commit 2f08e04

Please sign in to comment.