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 .rubocop_todo.yml #137

Open
dentarg opened this issue Jun 23, 2019 · 0 comments
Open

Add .rubocop_todo.yml #137

dentarg opened this issue Jun 23, 2019 · 0 comments

Comments

@dentarg
Copy link
Member

dentarg commented Jun 23, 2019

@olleolleolle expressed it so well in sinatra/sinatra#1537 (comment) so I'm just going to leave his comment here:

RuboCop has a concept of a TODO file - a list of remaining issues to be skipped. Having such a file would allow us to keep enabled the rules we want to follow for new code, while at the same time allowing the old code not to trouble that effort.

If some of the rules which didn't pass right now are desirable to pass in the future, we could use rubocop --auto-gen-config to create and include a file .rubocop_todo.yml, oh, I blogged about this workflow.

Related to #134

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

No branches or pull requests

1 participant