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

Exclude *.gemspec by default #54

Open
coding-bunny opened this issue Mar 31, 2021 · 0 comments
Open

Exclude *.gemspec by default #54

coding-bunny opened this issue Mar 31, 2021 · 0 comments

Comments

@coding-bunny
Copy link

Is your feature request related to a problem? Please describe.
When using this gem inside a Gem project, all text lines in the Gemspec file will be marked as missing a decorator.

Describe the solution you'd like
ANY gemspec file to be ignored by default

Describe alternatives you've considered
Manually adding a line to RuboCop's config file for every cop, or explicitly adding gemspec files to Global exclude sections

Additional context
Gemspecs should be as lean as possible, and I feel it better to have the Cops ignore these gemspecs by default, and not having to extend my configuration either globally for large projects/custom configurations or to list this lien for every Cop

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

No branches or pull requests

1 participant