Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2f08e04

Browse files
committedSep 6, 2021
fix check version
1 parent a1a3f71 commit 2f08e04

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed
 

‎.golangci.example.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ linters-settings:
592592

593593
tenv:
594594
# The following configurations enable checks prior to Go 1.17.
595-
f: false
595+
force: false
596596

597597
unparam:
598598
# Inspect exported functions, default is false. Set to true if no external program/library imports your code.

‎go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ require (
6767
github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c
6868
github.com/shirou/gopsutil/v3 v3.21.7
6969
github.com/sirupsen/logrus v1.8.1
70-
github.com/sivchari/tenv v1.0.2
70+
github.com/sivchari/tenv v1.0.3
7171
github.com/sonatard/noctx v0.0.1
7272
github.com/sourcegraph/go-diff v0.6.1
7373
github.com/spf13/cobra v1.2.1

‎go.sum

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pkg/config/linters_settings.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ type ThelperSettings struct {
449449
}
450450

451451
type TenvSettings struct {
452-
Force bool `mapstructure:"f"`
452+
Force bool `mapstructure:"force"`
453453
}
454454

455455
type UnparamSettings struct {

‎test/testdata/configs/tenv.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
linters-settings:
22
tenv:
3-
f: true
3+
force: true

0 commit comments

Comments
 (0)
Please sign in to comment.