config/default.yml in rubocop-standard-1.12.0 vs config/default.yml in rubocop-standard-1.14.0
- old
+ new
@@ -1,6 +1,7 @@
require: rubocop/cop/standard
+require: rubocop-performance
AllCops:
DisabledByDefault: true
Bundler/DuplicatedGem:
@@ -227,32 +228,23 @@
Enabled: true
Performance/FlatMap:
Enabled: true
-Performance/LstripRstrip:
- Enabled: true
-
Performance/RangeInclude:
Enabled: false
Performance/RedundantMatch:
Enabled: false
Performance/RedundantMerge:
Enabled: true
MaxKeyValuePairs: 1
-Performance/RedundantSortBy:
- Enabled: true
-
Performance/ReverseEach:
Enabled: true
-Performance/Sample:
- Enabled: true
-
Performance/Size:
Enabled: true
Performance/StartWith:
Enabled: true
@@ -316,11 +308,20 @@
Enabled: true
Style/OneLineConditional:
Enabled: true
+Style/RedundantSortBy:
+ Enabled: true
+
+Style/Sample:
+ Enabled: true
+
Style/StabbyLambdaParentheses:
Enabled: true
Style/StringLiterals:
Enabled: true
- EnforcedStyle: double_quotes
+ EnforcedStyle: single_quotes
+
+Style/Strip:
+ Enabled: true