Skip to content

Commit

Permalink
gem cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
biwek committed Nov 7, 2020
1 parent 4ca6bae commit 36e4800
Show file tree
Hide file tree
Showing 4 changed files with 111 additions and 96 deletions.
13 changes: 13 additions & 0 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

AllCops:
DisplayCopNames: true
NewCops: enable

# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: TreatCommentsAsGroupSeparators, Include.
Expand Down Expand Up @@ -67,6 +71,10 @@ Layout/SpaceInsideHashLiteralBraces:
Lint/AssignmentInCondition:
AllowSafeAssignment: true

Lint/EmptyBlock:
Exclude:
- 'config/initializers/simple_form_bootstrap.rb'

# Offense count: 1
# Cop supports --auto-correct.
Lint/NonDeterministicRequireOrder:
Expand All @@ -77,6 +85,8 @@ Lint/NonDeterministicRequireOrder:
# Configuration parameters: IgnoredMethods.
Metrics/AbcSize:
Max: 19
Exclude:
- 'db/migrate/20180419213255_devise_create_users.rb'

# Offense count: 2
# Configuration parameters: CountComments, ExcludedMethods.
Expand Down Expand Up @@ -107,6 +117,9 @@ Style/ExpandPathArguments:
Style/FrozenStringLiteralComment:
Enabled: false

Style/HashAsLastArrayItem:
Enabled: false

# Disable this cop and use -> { .. } and -> do .. end consistently
Style/Lambda:
Enabled: false
Expand Down
Loading

0 comments on commit 36e4800

Please sign in to comment.