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

Add ability to ignore / exclude globs #96

Open
schoblaska opened this issue May 10, 2024 · 0 comments
Open

Add ability to ignore / exclude globs #96

schoblaska opened this issue May 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@schoblaska
Copy link
Contributor

This gem has an unowned_globs config option, which acts as a "TODO" list for code that has not yet been assigned an owner. However, there is currently no way to ignore files / globs from code ownership entirely.

Example: A team owns a directory, but it contains a nested file that is autogenerated and changes frequently.

team_code
 ∟/src
   ∟/generated/__some_file__
 ∟/config

Example: js_package_paths causing node_modules or other nested package.json files to be parsed

In this case, an ignore / exclude rule would potentially prevent these package.json files from being parsed. So, this feature might control which files are owned, but also which files are parsed as configuration for code_ownership.

@schoblaska schoblaska added the enhancement New feature or request label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant