.rubocop.yml in grape-throttler-1.1.0 vs .rubocop.yml in grape-throttler-1.1.1
- old
+ new
@@ -1,24 +1,35 @@
require:
- rubocop-performance
- rubocop-rspec
AllCops:
- TargetRubyVersion: 2.6
+ TargetRubyVersion: 2.7
+ NewCops: enable
DisplayCopNames: true
DisplayStyleGuide: true
+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'
-Metrics/LineLength:
- Max: 100
Naming/FileName:
Enabled: false
RSpec/ExampleLength:
Enabled: false
RSpec/FilePath: