Skip to content

Commit

Permalink
CI: improve importas rule
Browse files Browse the repository at this point in the history
Co-authored-by: Atomys <contact@atomys.fr>
Signed-off-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com>
  • Loading branch information
ccoVeille and 42atomys authored Dec 13, 2024
1 parent 5945298 commit 4ed3ccd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@ linters-settings:
importas:
alias:
# prevent conflicts with std packages
- pkg: github.com/go-sprout/sprout/registry/time
alias: rtime
- pkg: github.com/go-sprout/sprout/registry/strings
alias: rstrings
- pkg: github.com/go-sprout/sprout/registry/(\w+)
alias: r$1
gofumpt:
module-path: github.com/go-sprout/sprout
misspell:
Expand Down

0 comments on commit 4ed3ccd

Please sign in to comment.