vet supports path exclusions when scanning a directory: use the --exclude flag to skip path patterns within the target. Path exclusions are available only for the scan command.
Basic Usage
Exclude a single path pattern during directory scanning:Multiple Exclusions
Specify multiple path patterns for exclusion:Exclusion patterns use glob matching (the
doublestar library), not regular expressions. Use * to match within a single path segment and ** to match across directories.
