Skip to content

Commit

Permalink
ci: Fix .golangci.yml for latest version (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
taoky authored Feb 18, 2025
1 parent 2d93933 commit 09483c3
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,6 @@ run:
# Default: 1m
timeout: 5m

# Which dirs to skip: issues from them won't be reported.
# Can use regexp here: `generated.*`, regexp is applied on full path.
# Default value is empty list,
# but default dirs are skipped independently of this option's value (see skip-dirs-use-default).
# "/" will be replaced by current OS file path separator to properly work on Windows.
skip-dirs:

# Enables skipping of directories:
# - vendor$, third_party$, testdata$, examples$, Godeps$, builtin$
# Default: true
skip-dirs-use-default: true

# If set we pass it to "go list -mod={option}". From "go help modules":
# If invoked with -mod=readonly, the go command is disallowed from the implicit
# automatic updating of go.mod described above. Instead, it fails when any changes
Expand Down Expand Up @@ -59,7 +47,7 @@ linters-settings:
main:
deny:
- pkg: github.com/docker/docker
msg: https://github.com/ustclug/Yuki/issues/44
desc: https://github.com/ustclug/Yuki/issues/44
gci:
sections:
- standard # Standard section: captures all standard packages.
Expand Down

0 comments on commit 09483c3

Please sign in to comment.