Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • M mastodon
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • pounced-on.me
  • mastodon
  • Repository
Switch branch/tag
  • mastodon
  • .rubocop.yml
Find file BlameHistoryPermalink
  • Chikahiro Tokoro's avatar
    fix RuboCop error (#7442) · 1637d24a
    Chikahiro Tokoro authored Jun 04, 2018
    * fix RuboCop error
    
    RuboCop doesn't work by following error.
    
    ```
    $ rubocop
    Error: The `Style/TrailingCommaInLiteral` cop no longer exists. Please use `Style/TrailingCommaInArrayLiteral` and/or `Style/TrailingCommaInHashLiteral` instead.
    (obsolete configuration found in .rubocop.yml, please update it)
    ```
    
    it comes from RuboCop 0.53.0 [\[Fix #3394\] Separate Array & Hash Literal Comma configuration by garettarrowood · Pull Request #5307 · bbatsov/rubocop](https://github.com/bbatsov/rubocop/pull/5307)
    
    * ci(CodeClimate): specify RuboCop version 0.54
    
     * https://docs.codeclimate.com/docs/rubocop#section-using-rubocop-s-newer-versions
     * [RuboCop 0.55.0 is not available yet](https://github.com/codeclimate/codeclimate-rubocop/issues/121) on CodeClimate rubocop channel
    1637d24a

Replace .rubocop.yml

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.