.rubocop.yml in grape-throttler-1.0.1 vs .rubocop.yml in grape-throttler-1.1.0
- old
+ new
@@ -1,39 +1,33 @@
+require:
+ - rubocop-performance
+ - rubocop-rspec
AllCops:
+ TargetRubyVersion: 2.6
DisplayCopNames: true
DisplayStyleGuide: true
- TargetRubyVersion: 2.5
+Layout/EmptyLinesAroundBlockBody:
Exclude:
- - 'lib/**/**/templates/*'
- 'spec/**/**/*'
Layout/EmptyLinesAroundClassBody:
- Enabled: false
+ EnforcedStyle: empty_lines_except_namespace
Layout/EmptyLinesAroundModuleBody:
- Enabled: false
-LineLength:
+ EnforcedStyle: empty_lines_except_namespace
+Metrics/BlockLength:
+ Exclude:
+ - 'spec/**/**/*'
+ - '*.gemspec'
+Metrics/LineLength:
Max: 100
-Lint/AssignmentInCondition:
- Enabled: false
-Lint/RescueException:
- Enabled: false
-Lint/ScriptPermission:
- Enabled: false
-Metrics/AbcSize:
- Enabled: false
-Metrics/CyclomaticComplexity:
- Enabled: false
-Metrics/MethodLength:
- Enabled: false
-Metrics/PerceivedComplexity:
- Enabled: false
Naming/FileName:
Enabled: false
-Style/BracesAroundHashParameters:
+RSpec/ExampleLength:
Enabled: false
+RSpec/FilePath:
+ Exclude:
+ - 'spec/grape-throttler/version_spec.rb'
+RSpec/MultipleExpectations:
+ Enabled: false
Style/Documentation:
Enabled: false
Style/ExpandPathArguments:
- Enabled: false
-Style/RescueModifier:
- Enabled: false
-Style/RescueStandardError:
Enabled: false