-
Notifications
You must be signed in to change notification settings - Fork 10
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 more rubocop rules. #37
Comments
I try to generate updated info in this pull request #38. |
@MiguelSavignano Thanks for the heads up. This project already has some code to generate the docs. If you run https://github.com/codacy/codacy-rubocop#update-version-with-docs it should update the docs for the version selected in The code that does it is in here: https://github.com/codacy/codacy-rubocop/blob/master/src/main/scala/codacy/rubocop/Generator.scala Not sure where and how you are getting your docs but we would like to keep this automated. Ideally we would like to update the current doc generation but since your docs seem more complete, I would be up to accepting a Ruby script to generate the docs with some updates in the README on how to do it. |
The rubocop gem generates the documentation using the gem source code and yard gem. This file contain all rubocop rules with examples with all the necessary information to generate codacy docs files. but the hard part is that the rubocop source code is necessary. The ruby script generator use rucocop-doc.yml for generate makrdown, description.json and patters.json |
This was fixed in the automatic doc generation a long time ago. Forgot to close this. |
Some rules are missing or other it's outdated or the example it's not the same with the rubocop doc info
example:
the example of Lint/AmbiguousOperator if diferent for
http://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Lint/AmbiguousOperator
The text was updated successfully, but these errors were encountered: