Skip to content
New issue

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

Support :file-pattern on :ns-group #1790

Closed
ericdallo opened this issue Sep 2, 2022 · 1 comment · Fixed by #1793
Closed

Support :file-pattern on :ns-group #1790

ericdallo opened this issue Sep 2, 2022 · 1 comment · Fixed by #1793

Comments

@ericdallo
Copy link
Member

Is your feature request related to a problem? Please describe.
At Nubank, we want to use the discouraged-var linter only on test namespaces, the issue is that we can know for sure a ns is in a test source-path only checking the ns, we need to check the source-path.

Describe the solution you'd like
if we support a :file-pattern on the :ns-group we would be able to exclude specific source-paths.

Describe alternatives you've considered
no alternatives AFAICS

Additional context
https://clojurians.slack.com/archives/CHY97NXE2/p1661880291392359

I can help with a PR

@borkdude
Copy link
Member

borkdude commented Sep 2, 2022

Sounds good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants