Skip to content

Commit

Permalink
Add rubocop fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
klaseskilson committed Jul 23, 2018
1 parent 322d736 commit f147e8a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,8 @@ Rails/ApplicationRecord:
Exclude:
- 'spec/**/*'

Style/TrailingCommaInLiteral:
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma

Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
4 changes: 1 addition & 3 deletions administrate-field-belongs_to_search.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# coding: utf-8

lib = File.expand_path('../lib', __FILE__)
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

Gem::Specification.new do |gem|
Expand Down

0 comments on commit f147e8a

Please sign in to comment.