Skip to content

Commit d3cf224

Browse files
authored
Merge pull request #2 from gitmkn/gitmkn-golangci
Update .golangci.yml
2 parents 9c7b6a8 + 653e81e commit d3cf224

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.golangci.yml

Lines changed: 11 additions & 2 deletions
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,10 +25,19 @@ 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
3241
# Allow multiple parallel golangci-lint instances running.
3342
# If false (default) - golangci-lint acquires file lock on start.
34-
allow-parallel-runners: true
43+
allow-parallel-runners: true

0 commit comments

Comments
 (0)