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