diff options
| author | Geremia Taglialatela <[email protected]> | 2023-05-31 17:31:59 +0200 |
|---|---|---|
| committer | Geremia Taglialatela <[email protected]> | 2023-05-31 17:31:59 +0200 |
| commit | 4e555613a021639c12be713c438bb124622c72d3 (patch) | |
| tree | e629fb11f494e85fa1e6205792111b83474d45d9 /.rubocop_todo.yml | |
| parent | ad87c51bf8c8f59a36514bb95dc6d3a582c6b2fd (diff) | |
| download | caxlsx-4e555613a021639c12be713c438bb124622c72d3.tar.gz caxlsx-4e555613a021639c12be713c438bb124622c72d3.zip | |
Remove redundant parentheses
- Style/ParenthesesAroundCondition
- Style/RedundantParentheses
- Style/TernaryParentheses
`Style/ParenthesesAroundCondition` may be questionable, but a majority
of comparison where not using parentheses, so offenses have been fixed
for uniformity across the codebase
Diffstat (limited to '.rubocop_todo.yml')
| -rw-r--r-- | .rubocop_todo.yml | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index fc0449d9..f76f66af 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -308,14 +308,6 @@ Style/ParallelAssignment: - 'lib/axlsx/workbook/worksheet/row.rb' # This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: AllowSafeAssignment, AllowInMultilineConditions. -Style/ParenthesesAroundCondition: - Exclude: - - 'lib/axlsx/stylesheet/font.rb' - - 'lib/axlsx/util/validators.rb' - - 'lib/axlsx/workbook/worksheet/rich_text_run.rb' - -# This cop supports safe autocorrection (--autocorrect). # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: Exclude: @@ -371,19 +363,6 @@ Style/RedundantInterpolation: - 'lib/axlsx/workbook/worksheet/worksheet.rb' # This cop supports safe autocorrection (--autocorrect). -Style/RedundantParentheses: - Exclude: - - 'lib/axlsx/drawing/area_series.rb' - - 'lib/axlsx/drawing/bar_3D_chart.rb' - - 'lib/axlsx/drawing/bar_chart.rb' - - 'lib/axlsx/drawing/line_3D_chart.rb' - - 'lib/axlsx/drawing/line_series.rb' - - 'lib/axlsx/drawing/scatter_series.rb' - - 'lib/axlsx/package.rb' - - 'lib/axlsx/workbook/worksheet/pivot_table.rb' - - 'lib/axlsx/workbook/worksheet/worksheet.rb' - -# This cop supports safe autocorrection (--autocorrect). Style/RedundantRegexpEscape: Exclude: - 'lib/axlsx/workbook/worksheet/pivot_table.rb' @@ -430,16 +409,6 @@ Style/SymbolArray: EnforcedStyle: brackets # This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EnforcedStyle, AllowSafeAssignment. -# SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex -Style/TernaryParentheses: - Exclude: - - 'lib/axlsx/drawing/area_series.rb' - - 'lib/axlsx/drawing/line_series.rb' - - 'lib/axlsx/drawing/scatter_series.rb' - - 'lib/axlsx/workbook/worksheet/rich_text_run.rb' - -# This cop supports safe autocorrection (--autocorrect). # Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, AllowedMethods. # AllowedMethods: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym Style/TrivialAccessors: |
