-
Notifications
You must be signed in to change notification settings - Fork 305
Closed
Labels
Description
Describe the bug
With v1.6.1 which includes #1060 the exclusions are no longer working as before. I have previously been using
revive -exclude dir1/... -exclude dir2/... ./...
I see the globbing patterns have replaced the dots, however I have been unable to make anything work. I've tried:
'dir1/*'
'dir1/**'
'./dir1/**'
-
'dir1/**.go'
To Reproduce
See above
Expected behavior
Should be able to exclude entire directories
Logs
no
Desktop (please complete the following information):
- Ubuntu 24.04.1 LTS
- Go 1.23.6
Additional context
If this does work, some better samples in the CLI help would be good.
Also, this was clearly a breaking change and not just a patch version.