Simplify skipped dir rules.
This commit is contained in:
parent
df22674127
commit
f6ced49dcc
@ -98,17 +98,9 @@ linters:
|
||||
run:
|
||||
skip-dirs:
|
||||
- test/testdata_etc
|
||||
skip-files:
|
||||
- internal/cache/.*_test.go
|
||||
|
||||
issues:
|
||||
exclude-rules:
|
||||
- path: internal/(cache|renameio)/
|
||||
linters:
|
||||
- lll
|
||||
- gochecknoinits
|
||||
- gocyclo
|
||||
- funlen
|
||||
- internal/cache
|
||||
- internal/renameio
|
||||
- internal/robustio
|
||||
|
||||
# golangci.com configuration
|
||||
# https://github.com/golangci/golangci/wiki/Configuration
|
||||
|
14
README.md
14
README.md
@ -1014,17 +1014,9 @@ linters:
|
||||
run:
|
||||
skip-dirs:
|
||||
- test/testdata_etc
|
||||
skip-files:
|
||||
- internal/cache/.*_test.go
|
||||
|
||||
issues:
|
||||
exclude-rules:
|
||||
- path: internal/(cache|renameio)/
|
||||
linters:
|
||||
- lll
|
||||
- gochecknoinits
|
||||
- gocyclo
|
||||
- funlen
|
||||
- internal/cache
|
||||
- internal/renameio
|
||||
- internal/robustio
|
||||
|
||||
# golangci.com configuration
|
||||
# https://github.com/golangci/golangci/wiki/Configuration
|
||||
|
Loading…
x
Reference in New Issue
Block a user