Skip to content

Commit

Permalink
test(golangci-lint): remove explicit version for gofumpt (#498)
Browse files Browse the repository at this point in the history
By default, gofumpt uses the language version from go.mod,
which reduces the need for maintenance here.
  • Loading branch information
morremeyer committed Dec 20, 2022
1 parent 89093d0 commit 11fe175
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ linters:

linters-settings:
gofumpt:
lang-version: "1.19"
extra-rules: true
gocyclo:
min-complexity: 15
Expand Down
8 changes: 0 additions & 8 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,6 @@
"matchStrings": [
"# renovate:\\sdatasource=(?<datasource>.*?)\\sdepName=(?<depName>.*?)\\s.*@(?<currentValue>.*)"
]
},
{
"description": "Upgrade go minor for golangci-lint",
"fileMatch": ["^\\.golangci\\.yml"],
"matchStrings": ["lang-version: \"(?<currentValue>.*)\""],
"datasourceTemplate": "github-tags",
"depNameTemplate": "golang/go",
"versioningTemplate": "docker"
}
],
"packageRules": [
Expand Down

0 comments on commit 11fe175

Please sign in to comment.