We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exclude files base on patterns I want to exclude file base on pattern , for example exclude all test files
To Reproduce Steps to reproduce the behavior:
go install github.com/mgechev/revive@latest
EXCLUDE_PATTERNS := \ --exclude '**/*_test.go' .PHONY: lint lint: docker run --rm \ -v $(PWD):/app \ -w /app \ ghcr.io/mgechev/revive:v1.3.7 \ $(EXCLUDE_PATTERNS) \ -config revive.toml \ -formatter friendly \ ./...
enableAllRules = true
Expected behavior I expected that files end of _test.go is excluded but It's not happening and still getting lint for test files
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Exclude files base on patterns
I want to exclude file base on pattern , for example exclude all test files
To Reproduce
Steps to reproduce the behavior:
go install github.com/mgechev/revive@latest
Expected behavior
I expected that files end of _test.go is excluded but It's not happening and still getting lint for test files
The text was updated successfully, but these errors were encountered: