Skip to content

Commit f6ced49

Browse files
committed
Simplify skipped dir rules.
1 parent df22674 commit f6ced49

File tree

2 files changed

+6
-22
lines changed

2 files changed

+6
-22
lines changed

.golangci.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -98,17 +98,9 @@ linters:
9898
run:
9999
skip-dirs:
100100
- test/testdata_etc
101-
skip-files:
102-
- internal/cache/.*_test.go
103-
104-
issues:
105-
exclude-rules:
106-
- path: internal/(cache|renameio)/
107-
linters:
108-
- lll
109-
- gochecknoinits
110-
- gocyclo
111-
- funlen
101+
- internal/cache
102+
- internal/renameio
103+
- internal/robustio
112104

113105
# golangci.com configuration
114106
# https://github.com/golangci/golangci/wiki/Configuration

README.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,17 +1014,9 @@ linters:
10141014
run:
10151015
skip-dirs:
10161016
- test/testdata_etc
1017-
skip-files:
1018-
- internal/cache/.*_test.go
1019-
1020-
issues:
1021-
exclude-rules:
1022-
- path: internal/(cache|renameio)/
1023-
linters:
1024-
- lll
1025-
- gochecknoinits
1026-
- gocyclo
1027-
- funlen
1017+
- internal/cache
1018+
- internal/renameio
1019+
- internal/robustio
10281020
10291021
# golangci.com configuration
10301022
# https://github.com/golangci/golangci/wiki/Configuration

0 commit comments

Comments
 (0)