-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Description
Currently there are two flags for ignoring files: --ignore-generated and --ignored-dirs.
--ignore-generated is very strict about what it considers a generated file, causing a lot of generated files to be considered not generated in many code bases.
--ignored-dirs only checks the last part of a path which can mean it will match a much larger set that intended if the ignored directory has a generic name. Additionally it is rather combersome to specify multile directories as the flag needs to be repeated and it is quite long (granted not a major concern).
Ideally I would like to see ignores specified as regular expressions on the whole path, similar to how golangci-lint handles its skip-dirs configuration
chaporgin, cwrau, gustav-b, theojessop, roman-utila and 5 more
Metadata
Metadata
Assignees
Labels
No labels