summaryrefslogtreecommitdiffhomepage
path: root/.rubocop_todo.yml
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-05-20 17:19:24 +0200
committerGeremia Taglialatela <[email protected]>2023-05-20 17:19:24 +0200
commit90db2eecf0271b9597891dc3dd96b2b0b26ec5d3 (patch)
treef6528b095a3ff407e4afab262c65b5ef0ee18571 /.rubocop_todo.yml
parent6a4b82def2e94b4811c38c37e606d426710d1e6c (diff)
downloadcaxlsx-90db2eecf0271b9597891dc3dd96b2b0b26ec5d3.tar.gz
caxlsx-90db2eecf0271b9597891dc3dd96b2b0b26ec5d3.zip
Fix Lint/Void offenses
Setter methods return the assigned value. Given: ```rb class MyClass def foo=(v) v = 10 42 end end ``` `my_object.foo = 5` will always return `5` This methods removes code that does not have effect
Diffstat (limited to '.rubocop_todo.yml')
-rw-r--r--.rubocop_todo.yml8
1 files changed, 0 insertions, 8 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 19c4b3f5..3fc85dec 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -82,14 +82,6 @@ Lint/UselessAssignment:
- 'lib/axlsx/workbook/worksheet/header_footer.rb'
- 'lib/axlsx/workbook/worksheet/sheet_protection.rb'
-# Configuration parameters: CheckForMethodsWithNoSideEffects.
-Lint/Void:
- Exclude:
- - 'lib/axlsx/drawing/title.rb'
- - 'lib/axlsx/util/storage.rb'
- - 'lib/axlsx/workbook/worksheet/data_bar.rb'
- - 'lib/axlsx/workbook/worksheet/pivot_table.rb'
-
# Configuration parameters: MinSize.
Performance/CollectionLiteralInLoop:
Exclude: