summaryrefslogtreecommitdiffhomepage
path: root/.rubocop_todo.yml
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-05-03 18:45:30 +0200
committerGeremia Taglialatela <[email protected]>2023-05-03 18:45:30 +0200
commit6a61caa26ef8e8fbe3a88ecd9341976e5a177db5 (patch)
tree076ea47e1644fe37909d2438d9dc3c97ca50ef5c /.rubocop_todo.yml
parentaaf88bd98054b1823ba0ade4b883b84e41b5e947 (diff)
downloadcaxlsx-6a61caa26ef8e8fbe3a88ecd9341976e5a177db5.tar.gz
caxlsx-6a61caa26ef8e8fbe3a88ecd9341976e5a177db5.zip
Fix safe, minor offenses to production code
- Lint/RedundantStringCoercion - Style/CommentAnnotation offenses - Style/DefWithParentheses - Style/EvalWithLocation - Style/MethodCallWithoutArgsParentheses - Style/MethodDefParentheses - Style/NilComparison - Style/Semicolon
Diffstat (limited to '.rubocop_todo.yml')
-rw-r--r--.rubocop_todo.yml57
1 files changed, 0 insertions, 57 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 0f609d00..1f4fc376 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -72,13 +72,6 @@ Lint/NonLocalExitFromIterator:
- 'lib/axlsx/util/validators.rb'
# This cop supports safe autocorrection (--autocorrect).
-Lint/RedundantStringCoercion:
- Exclude:
- - 'lib/axlsx/workbook/worksheet/auto_filter/filters.rb'
- - 'lib/axlsx/workbook/worksheet/cell.rb'
- - 'lib/axlsx/workbook/worksheet/rich_text_run.rb'
-
-# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
Lint/UnusedBlockArgument:
Exclude:
@@ -161,15 +154,6 @@ Style/ClassVars:
Style/ColonMethodCall:
Enabled: false
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: Keywords, RequireColon.
-# Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW, NOTE
-Style/CommentAnnotation:
- Exclude:
- - 'lib/axlsx/drawing/axis.rb'
- - 'lib/axlsx/drawing/chart.rb'
- - 'lib/axlsx/drawing/view_3D.rb'
-
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/ConcatArrayLiterals:
Exclude:
@@ -186,11 +170,6 @@ Style/ConditionalAssignment:
- 'lib/axlsx/workbook/worksheet/data_bar.rb'
- 'lib/axlsx/workbook/worksheet/rich_text_run.rb'
-# This cop supports safe autocorrection (--autocorrect).
-Style/DefWithParentheses:
- Exclude:
- - 'lib/axlsx/stylesheet/styles.rb'
-
Style/DocumentDynamicEvalDefinition:
Exclude:
- 'lib/axlsx/util/simple_typed_list.rb'
@@ -212,11 +191,6 @@ Style/Documentation:
- 'lib/axlsx/workbook/worksheet/sheet_format_pr.rb'
# This cop supports safe autocorrection (--autocorrect).
-Style/EvalWithLocation:
- Exclude:
- - 'lib/axlsx/util/simple_typed_list.rb'
-
-# This cop supports safe autocorrection (--autocorrect).
Style/ExpandPathArguments:
Exclude:
- 'axlsx.gemspec'
@@ -322,21 +296,6 @@ Style/LineEndConcatenation:
- 'lib/axlsx/package.rb'
# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: AllowedMethods, AllowedPatterns.
-Style/MethodCallWithoutArgsParentheses:
- Exclude:
- - 'lib/axlsx/package.rb'
-
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline
-Style/MethodDefParentheses:
- Exclude:
- - 'lib/axlsx/util/simple_typed_list.rb'
- - 'lib/axlsx/workbook/worksheet/rich_text_run.rb'
- - 'lib/axlsx/workbook/worksheet/worksheet.rb'
-
-# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowMethodComparison.
Style/MultipleComparison:
Exclude:
@@ -389,17 +348,6 @@ Style/Next:
- 'lib/axlsx/stylesheet/styles.rb'
# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: predicate, comparison
-Style/NilComparison:
- Exclude:
- - 'lib/axlsx/drawing/axis.rb'
- - 'lib/axlsx/drawing/chart.rb'
- - 'lib/axlsx/drawing/view_3D.rb'
- - 'lib/axlsx/workbook/worksheet/sheet_protection.rb'
- - 'lib/axlsx/workbook/worksheet/worksheet.rb'
-
-# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: IncludeSemanticChanges.
Style/NonNilCheck:
Exclude:
@@ -608,11 +556,6 @@ Style/SelfAssignment:
- 'lib/axlsx/stylesheet/color.rb'
# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: AllowAsExpressionSeparator.
-Style/Semicolon:
- Enabled: false
-
-# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowIfMethodIsEmpty.
Style/SingleLineMethods:
Enabled: false