Skip to content

Commit

Permalink
[ci] Enable OrderedGems Rubocop cop
Browse files Browse the repository at this point in the history
  • Loading branch information
Ana06 committed Feb 20, 2017
1 parent 4b79518 commit 5159176
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
5 changes: 5 additions & 0 deletions src/api/.rubocop.yml
Expand Up @@ -241,3 +241,8 @@ Rails/Validation:
Security/Eval:
Enabled: true

##################### Bundler ##################################

# Gems in consecutive lines should be alphabetically sorted
Bundler/OrderedGems:
Enabled: true
8 changes: 0 additions & 8 deletions src/api/.rubocop_todo.yml
Expand Up @@ -6,14 +6,6 @@
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: Include.
# Include: **/Gemfile, **/gems.rb
Bundler/OrderedGems:
Exclude:
- 'Gemfile'

# Offense count: 21
Lint/EmptyWhen:
Exclude:
Expand Down

0 comments on commit 5159176

Please sign in to comment.