Skip to content

Commit

Permalink
feat: bump golangci-lint from 1.43 to 1.44 (#125)
Browse files Browse the repository at this point in the history
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
  • Loading branch information
greut committed Mar 15, 2022
1 parent 9f6d1eb commit 1e21c08
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ updates:
schedule:
interval: weekly
open-pull-requests-limit: 10
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.43
version: v1.44
5 changes: 4 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
linters-settings:
gci:
local-prefixes: github.com/editorconfig/editorconfig-core-go
sections:
- standard
- default
- prefix(github.com/editorconfig/editorconfig-core-go)
cyclop:
max-complexity: 15
package-average: 10
Expand Down
2 changes: 1 addition & 1 deletion fnmatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func FnmatchCase(pattern, name string) (bool, error) {
return r.MatchString(name), nil
}

func translate(pattern string) string { // nolint: funlen,gocognit,gocyclo,cyclop
func translate(pattern string) string { // nolint: funlen,gocognit,gocyclo,cyclop,maintidx
index := 0
pat := []rune(pattern)
length := len(pat)
Expand Down

0 comments on commit 1e21c08

Please sign in to comment.