Skip to content

Commit

Permalink
unformat .golangci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rokostik committed Dec 8, 2023
1 parent 9196a85 commit 3bd9f8d
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ linters-settings:
min-complexity: 15
gofmt:
rewrite-rules:
- pattern: "interface{}"
replacement: "any"
- pattern: 'interface{}'
replacement: 'any'
goimports:
local-prefixes: github.com/golangci/golangci-lint
gomnd:
Expand All @@ -44,10 +44,10 @@ linters-settings:
- condition
- return
ignored-numbers:
- "0"
- "1"
- "2"
- "3"
- '0'
- '1'
- '2'
- '3'
ignored-functions:
- strings.SplitN

Expand Down Expand Up @@ -77,6 +77,7 @@ linters-settings:
exclude-rules:
- G504


linters:
disable-all: true
enable:
Expand Down Expand Up @@ -136,7 +137,7 @@ issues:
- text: "evaldo"
linters: typecheck
- text: "net/http/cgi" # REASON: only important for Go 1.6 and lower, Rye requires go1.8 or higher as defined in go.mod
linters: gosec
linters: gosec

# - path: _test\.go
# linters:
Expand Down Expand Up @@ -167,3 +168,4 @@ run:
# - internal/cache # extracted from Go code
# - internal/renameio # extracted from Go code
# - internal/robustio # extracted from Go code

0 comments on commit 3bd9f8d

Please sign in to comment.