.rubocop.yml in lite-uxid-1.0.7 vs .rubocop.yml in lite-uxid-1.0.8
- old
+ new
@@ -1,26 +1,40 @@
require:
- rubocop-performance
+ - rubocop-rake
- rubocop-rspec
AllCops:
- TargetRubyVersion: 2.6
+ TargetRubyVersion: 2.7
+ NewCops: enable
DisplayCopNames: true
DisplayStyleGuide: true
-LineLength:
- Max: 100
+Gemspec/RequiredRubyVersion:
+ Enabled: false
+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/MultipleExpectations:
Enabled: false
Style/Documentation:
Enabled: false
Style/ExpandPathArguments:
+ Enabled: false
+Style/SlicingWithRange:
Enabled: false