summaryrefslogtreecommitdiffhomepage
path: root/.rubocop_todo.yml
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-05-23 01:29:34 +0200
committerGeremia Taglialatela <[email protected]>2023-05-31 09:58:46 +0200
commit86026e2f106cb982f58f5a876756507d051aee4b (patch)
tree192cb431e2f5af9323d32466709e7305b48520fb /.rubocop_todo.yml
parent3aa92cd2be4b535d1b21d2ba02f0e7660ccc6a05 (diff)
downloadcaxlsx-86026e2f106cb982f58f5a876756507d051aee4b.tar.gz
caxlsx-86026e2f106cb982f58f5a876756507d051aee4b.zip
Fix Style/SymbolProc offenses
This also provides a performance improvement ``` Comparison (array of 4 elements): map(&): 3643131.4 i/s map {}: 3488052.5 i/s - 1.04x (± 0.00) slower Comparison (array of 20 elements): map(&): 466013.9 i/s map {}: 408447.2 i/s - 1.14x (± 0.00) slower ```
Diffstat (limited to '.rubocop_todo.yml')
-rw-r--r--.rubocop_todo.yml11
1 files changed, 0 insertions, 11 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index ae3b1d2a..8048c1b4 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -455,17 +455,6 @@ Style/StringLiterals:
Style/SymbolArray:
EnforcedStyle: brackets
-# This cop supports unsafe autocorrection (--autocorrect-all).
-# Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments.
-# AllowedMethods: define_method
-Style/SymbolProc:
- Exclude:
- - 'lib/axlsx/drawing/drawing.rb'
- - 'lib/axlsx/stylesheet/styles.rb'
- - 'lib/axlsx/workbook/workbook.rb'
- - 'lib/axlsx/workbook/worksheet/worksheet.rb'
- - 'lib/axlsx/workbook/worksheet/worksheet_hyperlinks.rb'
-
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, AllowSafeAssignment.
# SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex