summaryrefslogtreecommitdiffhomepage
path: root/.rubocop_todo.yml
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-05-22 18:58:38 +0200
committerGeremia Taglialatela <[email protected]>2023-05-22 18:58:38 +0200
commit0f6062ef7cafb53396256c7b5b9cf5e715693637 (patch)
tree41e6fe05ddbd068bd5dd031bd3ac8e08cbc08e71 /.rubocop_todo.yml
parent6752225bbb8a9eec905ec02a98f1a25a309c404a (diff)
downloadcaxlsx-0f6062ef7cafb53396256c7b5b9cf5e715693637.tar.gz
caxlsx-0f6062ef7cafb53396256c7b5b9cf5e715693637.zip
Fix Style/NonNilCheck offenses
There were 8 occurrences of `!nil?` and 4 of `!= nil`. This change will standardize the usage of non-nil checks
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 1de00edb..af6d68ac 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -294,14 +294,6 @@ Style/Next:
Exclude:
- 'lib/axlsx/stylesheet/styles.rb'
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: IncludeSemanticChanges.
-Style/NonNilCheck:
- Exclude:
- - 'lib/axlsx/drawing/d_lbls.rb'
- - 'lib/axlsx/workbook/worksheet/col.rb'
- - 'lib/axlsx/workbook/worksheet/page_setup.rb'
-
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
# SupportedStyles: predicate, comparison