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

Allow #ruby for Ruby version comment style on LeadingCommentSpace #7577

Merged

Commits on Jan 9, 2020

  1. Add AllowGemfileRubyComment option to Layout/LeadingCommentSpace

    This PR remove the offense for comments that starts with `#ruby` as this style is
    a valid syntax to write Ruby versions in Gemfile that can be used with bundler, RVM, and others.
    
    Example:
    
    ```ruby
      # Specific version (comment) will be used by RVM
      #ruby=2.7.0
      #ruby-gemset=myproject
      ruby '~> 2.7.0'
    ```
    cetinajero committed Jan 9, 2020
    Copy the full SHA
    6eb457f View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2020

  1. Copy the full SHA
    13a0274 View commit details
    Browse the repository at this point in the history