rubocop-performance.yml in gitlab-styles-6.5.0 vs rubocop-performance.yml in gitlab-styles-6.6.0
- old
+ new
@@ -1,8 +1,9 @@
---
require:
- rubocop-performance
+ - ./lib/gitlab/styles/rubocop
# Used to identify usages of ancestors.include? and change them to use ⇐ instead.
# https://docs.rubocop.org/rubocop-performance/1.8/cops_performance.html#performanceancestorsinclude
Performance/AncestorsInclude:
Enabled: true
@@ -110,5 +111,11 @@
Enabled: true
# Checks for `.times.map` calls.
Performance/TimesMap:
Enabled: true
+
+# Flags potentially expensive operations on ZIP archives.
+Performance/Rubyzip:
+ Enabled: true
+ Exclude:
+ - 'spec/**/*'