Skip to content

Commit

Permalink
Merge pull request #18 from shopsmart/alias-method
Browse files Browse the repository at this point in the history
Prefer alias method over alias
  • Loading branch information
kmazanec authored Dec 3, 2018
2 parents 97ccd11 + 7c448a5 commit 25148b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ GEM
i18n (1.1.1)
concurrent-ruby (~> 1.0)
json (2.1.0)
loofah (2.2.2)
loofah (2.2.3)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.1)
Expand All @@ -100,7 +100,7 @@ GEM
pry (0.11.3)
coderay (~> 1.1.0)
method_source (~> 0.9.0)
rack (2.0.5)
rack (2.0.6)
rack-test (1.1.0)
rack (>= 1.0, < 3)
rails (5.2.1)
Expand Down Expand Up @@ -216,4 +216,4 @@ DEPENDENCIES
thor

BUNDLED WITH
1.16.1
1.17.1
2 changes: 2 additions & 0 deletions lib/generators/lint_configs/templates/.rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ Metrics:
Style/Lambda:
EnforcedStyle: literal

Style/Alias:
EnforcedStyle: prefer_alias_method

######################################## RSpec Specific #############################################

Expand Down

0 comments on commit 25148b8

Please sign in to comment.