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 required Ruby version to generated cops manual #7947
Add required Ruby version to generated cops manual #7947
Conversation
manual/cops_lint.md
Outdated
@@ -657,6 +657,8 @@ end | |||
|
|||
## Lint/ErbNewArguments | |||
|
|||
Required Ruby version: 2.6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have admonitions enabled and this seems like a good use for them. You can some !!! Note
prefix to this to turn it into an admonition.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great suggestion! This prefix feature is what I wanted thing :-)
I updated this one. Thank you always!
Follow up to rubocop#7921 (comment). This PR adds required Ruby version to cops manual generated by `rake generate_cops_documentation`.
134e85d
to
a7e3299
Compare
Follow up to #7921 (comment).
This PR adds required Ruby version to cops manual generated by
rake generate_cops_documentation
.Before submitting the PR make sure the following are checked:
[Fix #issue-number]
(if the related issue exists).master
(if not - rebase it).bundle exec rake default
. It executes all tests and RuboCop for itself, and generates the documentation.