File tree 3 files changed +22
-14
lines changed
3 files changed +22
-14
lines changed Original file line number Diff line number Diff line change
1
+ version = " 2"
2
+
3
+ [linters ]
4
+ enable = [ " gocritic" , " govet" ]
5
+
6
+ [linters .exclusions ]
7
+ generated = " lax"
8
+ presets = [
9
+ " comments" ,
10
+ " common-false-positives" ,
11
+ " legacy" ,
12
+ " std-error-handling"
13
+ ]
14
+ paths = [ " third_party$" , " builtin$" , " examples$" ]
15
+
16
+ [formatters ]
17
+ enable = [ " goimports" , " gofmt" ]
18
+
19
+ [formatters .exclusions ]
20
+ generated = " lax"
21
+ paths = [ " third_party$" , " builtin$" , " examples$" ]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ go test -count=1 "$@" ./...
6
6
7
7
# Run linters
8
8
# Configure linters in .golangci.yml
9
- expected_version=1.64.5
9
+ expected_version=2.0.2
10
10
expected_version_full=v" $expected_version "
11
11
golangci_lint_bin=./bin/golangci-lint
12
12
if ! " $golangci_lint_bin " version | grep -wq " version $expected_version " ; then
You can’t perform that action at this time.
0 commit comments