.rubocop.yml in lite-validators-1.0.6 vs .rubocop.yml in lite-validators-1.0.7
- old
+ new
@@ -1,20 +1,29 @@
require:
- rubocop-performance
- rubocop-rspec
AllCops:
- TargetRubyVersion: 2.6
+ TargetRubyVersion: 2.7
+ NewCops: enable
DisplayCopNames: true
DisplayStyleGuide: true
-LineLength:
- Max: 100
+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'
Metrics/ClassLength: