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

[Fix #8431] Add Safety section to documentation for all cops that are Safe: false or SafeAutoCorrect: false #10094

Merged
merged 2 commits into from Sep 20, 2021

Commits on Sep 16, 2021

  1. Allow safety information to be added to cop descriptions.

    Register a `@safety` custom YARD tag, and uses it to create a new section to the documentation about cop safety. Also updates the `new_cop` template to add the `@safety` tag section.
    dvandersluis committed Sep 16, 2021
    Configuration menu
    Copy the full SHA
    ca670b9 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2021

  1. [Fix rubocop#8431] Add @safety section to all cops that are `Safe: …

    …false` or `SafeAutoCorrect: false`.
    dvandersluis committed Sep 17, 2021
    Configuration menu
    Copy the full SHA
    39b6d91 View commit details
    Browse the repository at this point in the history