.rubocop.yml in lite-report-1.0.4 vs .rubocop.yml in lite-report-1.0.5
- old
+ new
@@ -1,20 +1,29 @@
require:
- rubocop-performance
- rubocop-rspec
AllCops:
- TargetRubyVersion: 2.6
+ TargetRubyVersion: 2.7
+ NewCops: enable
DisplayCopNames: true
DisplayStyleGuide: true
+Layout/EmptyLinesAroundAttributeAccessor:
+ Enabled: true
Layout/EmptyLinesAroundBlockBody:
Exclude:
- 'spec/**/**/*'
Layout/EmptyLinesAroundClassBody:
EnforcedStyle: empty_lines_except_namespace
Layout/EmptyLinesAroundModuleBody:
EnforcedStyle: empty_lines_except_namespace
Layout/LineLength:
Max: 100
+Layout/SpaceAroundMethodCallOperator:
+ Enabled: true
+Lint/RaiseException:
+ Enabled: true
+Lint/StructNewOverride:
+ Enabled: true
Metrics/BlockLength:
Exclude:
- 'spec/**/**/*'
- '*.gemspec'
RSpec/ExampleLength: