.rubocop.yml in pragma-2.3.0 vs .rubocop.yml in pragma-2.4.0
- old
+ new
@@ -3,20 +3,19 @@
AllCops:
TargetRubyVersion: 2.3
Include:
- '**/Gemfile'
- '**/Rakefile'
+ - '**/*.rb'
Exclude:
- 'bin/*'
- 'db/**/*'
- 'vendor/bundle/**/*'
- 'spec/spec_helper.rb'
- 'spec/rails_helper.rb'
- 'spec/support/**/*'
- 'config/**/*'
- - '**/Rakefile'
- - '**/Gemfile'
RSpec/DescribeClass:
Exclude:
- 'spec/requests/**/*'
@@ -50,10 +49,10 @@
EnforcedStyle: semantic
Style/BracesAroundHashParameters:
EnforcedStyle: context_dependent
-Lint/EndAlignment:
+Layout/EndAlignment:
EnforcedStyleAlignWith: variable
AutoCorrect: true
Style/AndOr:
EnforcedStyle: conditionals