.rubocop.yml in pdksync-0.6.0 vs .rubocop.yml in pdksync-0.8.0
- old
+ new
@@ -1,8 +1,17 @@
---
+inherit_from: .rubocop_todo.yml
+
+require:
+- rubocop-performance
+- rubocop-rspec
AllCops:
+ NewCops: enable
DisplayCopNames: true
+ ExtraDetails: true
+ DisplayStyleGuide: true
+ TargetRubyVersion: '2.7'
Include:
- "./**/*.rb"
Exclude:
- bin/*
- ".vendor/**/*"
@@ -55,40 +64,9 @@
diffs, and re-ordering nicer.
EnforcedStyleForMultiline: comma
Style/SymbolArray:
Description: Using percent style obscures symbolic intent of array's contents.
EnforcedStyle: brackets
-inherit_from: ".rubocop_todo.yml"
-Style/CollectionMethods:
- Enabled: true
-Style/MethodCalledOnDoEndBlock:
- Enabled: true
-Style/StringMethods:
- Enabled: true
-Layout/EndOfLine:
- Enabled: false
-Metrics/AbcSize:
- Enabled: false
-Metrics/BlockLength:
- Enabled: false
-Metrics/ClassLength:
- Enabled: false
-Metrics/CyclomaticComplexity:
- Enabled: false
-Metrics/MethodLength:
- Enabled: false
-Metrics/ModuleLength:
- Enabled: false
-Metrics/ParameterLists:
- Enabled: false
-Metrics/PerceivedComplexity:
- Enabled: false
-Style/AsciiComments:
- Enabled: false
-Style/IfUnlessModifier:
- Enabled: false
-Style/SymbolProc:
- Enabled: false
Style/Documentation:
Exclude:
- lib/pdksync/utils.rb
- lib/pdksync/logger.rb
- lib/pdksync/configuration.rb