Skip to content

Commit

Permalink
Merge pull request #27 from esminc/add_style_variable_name
Browse files Browse the repository at this point in the history
add Style/VariableName
  • Loading branch information
hibariya committed Feb 22, 2017
2 parents 4bb9812 + 518b987 commit 5bb9f4b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions circle.yml
@@ -1,5 +1,6 @@
dependencies:
pre:
- gem update --system
- gem update bundler

machine:
Expand Down
4 changes: 4 additions & 0 deletions config/rubocop.yml
Expand Up @@ -40,6 +40,10 @@ Style/SpaceInsideBlockBraces:
Style/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space

Style/VariableName:
EnforcedStyle: snake_case
Enabled: true

Metrics/AbcSize:
Exclude:
- 'db/migrate/**/*'
Expand Down

0 comments on commit 5bb9f4b

Please sign in to comment.