Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Rubocop config file to follow 0.82 #5

Merged
merged 6 commits into from
Jul 16, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 7 additions & 9 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require: rubocop-rails

AllCops:
Exclude:
- 'bin/**/*'
Expand All @@ -8,13 +10,13 @@ AllCops:
Rails:
Enabled: true

Layout/AlignParameters:
Layout/ParameterAlignment:
EnforcedStyle: with_fixed_indentation

Layout/CaseIndentation:
EnforcedStyle: end

Layout/IndentHash:
Layout/FirstHashElementIndentation:
Enabled: false

Layout/MultilineMethodCallIndentation:
Expand All @@ -26,10 +28,10 @@ Layout/MultilineOperationIndentation:
Layout/SpaceInsideHashLiteralBraces:
Enabled: false

Layout/AlignHash:
Layout/HashAlignment:
Enabled: true
EnforcedLastArgumentHashStyle: always_ignore

Layout/EndAlignment:
EnforcedStyleAlignWith: variable

Expand All @@ -48,10 +50,6 @@ Style/BlockDelimiters:
Exclude:
- spec/**/*_spec.rb

Style/BracesAroundHashParameters:
Exclude:
- spec/**/*_spec.rb

Style/GuardClause:
Enabled: false

Expand All @@ -76,7 +74,7 @@ Metrics/ClassLength:
Metrics/ModuleLength:
Max: 100

Metrics/LineLength:
Layout/LineLength:
Enabled: false

Metrics/MethodLength:
Expand Down