Skip to content

Commit

Permalink
chore: fix linter-settings duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
h5law committed Jan 12, 2024
1 parent c4b82d2 commit 26f3598
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
linters-settings:
govet:
check-shadowing: true

# TODO_TECHDEBT: Enable each linter listed, 1 by 1, fixing issues as they appear.
# Don't forget to delete the `disable-all: true` line as well.
linters:
Expand All @@ -17,6 +13,8 @@ linters:
- gci

linters-settings:
govet:
check-shadowing: true
lll:
line-length: 120
tab-width: 4
Expand Down Expand Up @@ -85,7 +83,7 @@ issues:
# as as single line.
- path: ^.*/errors\.go$
links:
- lll
- lll
# TODO_IMPROVE: see https://golangci-lint.run/usage/configuration/#issues-configuration
#new: true,
#fix: true,

0 comments on commit 26f3598

Please sign in to comment.