summaryrefslogtreecommitdiffhomepage
path: root/.rubocop_todo.yml
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-07-01 19:47:20 +0200
committerGeremia Taglialatela <[email protected]>2023-07-01 19:47:20 +0200
commit1ef7abad9022e9aa591e039a0fc9c7545b5c022d (patch)
treeb24cb7f00807889156e4a07c2557a1632ced11eb /.rubocop_todo.yml
parentf2f6177efac76e6015b98c3290fd1839b8568fbe (diff)
downloadcaxlsx-1ef7abad9022e9aa591e039a0fc9c7545b5c022d.tar.gz
caxlsx-1ef7abad9022e9aa591e039a0fc9c7545b5c022d.zip
Fix Style/PreferredHashMethods offense
`Gem.loaded_specs` is a hash, so it is safe to use `key?` and enable this cop
Diffstat (limited to '.rubocop_todo.yml')
-rw-r--r--.rubocop_todo.yml7
1 files changed, 0 insertions, 7 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index fcbc8c9f..1384f3c5 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -271,13 +271,6 @@ Style/PerlBackrefs:
Exclude:
- 'test/workbook/worksheet/tc_sheet_protection.rb'
-# This cop supports unsafe autocorrection (--autocorrect-all).
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: short, verbose
-Style/PreferredHashMethods:
- Exclude:
- - 'lib/axlsx.rb'
-
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: same_as_string_literals, single_quotes, double_quotes