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

Feature/remove sheriff.config from lint programatically #168

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

tomwhite007
Copy link

Per your comment, 2nd bullet point: #161 (comment)

This PR adds the ability for rules to have a filename inclusions or exclusions list set inside the createRule factory and filters the 'sheriff.config.ts' file from all the existing rules. This allows a future set of rules that can be filename/type-specific.

Of my two PRs this is the most testable, but both are written with consideration to solving #165.

Copy link

sonarqubecloud bot commented Dec 8, 2024

@tomwhite007
Copy link
Author

With hindsight, if you like this PR, I'd be happy to write more unit tests to cover all possible include/exclude configurations.

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 this pull request may close these issues.

1 participant