Skip to content

Commit 374377d

Browse files
committed
fix(config): [122067788] modify golangci config
1 parent 9c7b6a8 commit 374377d

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.golangci.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ linters:
1212
enable:
1313
- errcheck
1414
- gofmt
15-
- gosimple
15+
# - gosimple
1616
- ineffassign
1717
- misspell
1818
- staticcheck
@@ -25,7 +25,16 @@ linters-settings:
2525
exclude-functions: github.com/hashicorp/terraform-plugin-sdk/helper/schema:ForceNew|Set,fmt:.*,io:Close
2626

2727
run:
28+
skip-dirs:
29+
- vendor
30+
skip-files:
31+
- ".*_test.go"
32+
# change
33+
cache: true
34+
cache-ttl: 8760h
35+
2836
modules-download-mode: vendor
37+
2938
timeout: 60m
3039
# The default concurrency value is the number of available CPU.
3140
concurrency: 4

0 commit comments

Comments
 (0)