diff options
| author | Zsolt Kozaroczy <[email protected]> | 2023-05-04 09:15:26 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-05-04 09:15:26 +0200 |
| commit | 086e78d0d1f0896b6ca5f48b4873e861212f94aa (patch) | |
| tree | cae704e6f39294e737a58dd178a90751f8b32d8a /.rubocop_todo.yml | |
| parent | 679c2d435037291e331e1f4c7d06342d76856fde (diff) | |
| parent | 8cb015bf7b5b58ecd6d4ee66554601b275410061 (diff) | |
| download | caxlsx-086e78d0d1f0896b6ca5f48b4873e861212f94aa.tar.gz caxlsx-086e78d0d1f0896b6ca5f48b4873e861212f94aa.zip | |
Merge pull request #216 from tagliala/chore/introduce-rubocop-performance
Introduce RuboCop performance
Diffstat (limited to '.rubocop_todo.yml')
| -rw-r--r-- | .rubocop_todo.yml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 1f4fc376..0ec0a44a 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -103,6 +103,59 @@ Lint/Void: - 'lib/axlsx/workbook/worksheet/pivot_table.rb' # This cop supports safe autocorrection (--autocorrect). +Performance/BlockGivenWithExplicitBlock: + Exclude: + - 'lib/axlsx/util/serialized_attributes.rb' + +# Configuration parameters: MinSize. +Performance/CollectionLiteralInLoop: + Exclude: + - 'lib/axlsx/package.rb' + - 'lib/axlsx/workbook/worksheet/page_margins.rb' + +# This cop supports unsafe autocorrection (--autocorrect-all). +Performance/Detect: + Exclude: + - 'lib/axlsx/workbook/workbook.rb' + +# This cop supports unsafe autocorrection (--autocorrect-all). +Performance/InefficientHashSearch: + Exclude: + - 'lib/axlsx/drawing/axes.rb' + - 'lib/axlsx/drawing/d_lbls.rb' + - 'lib/axlsx/stylesheet/styles.rb' + - 'lib/axlsx/workbook/worksheet/worksheet.rb' + +# This cop supports safe autocorrection (--autocorrect). +Performance/RedundantBlockCall: + Exclude: + - 'lib/axlsx/util/zip_command.rb' + +# This cop supports safe autocorrection (--autocorrect). +Performance/RedundantMatch: + Exclude: + - 'lib/axlsx.rb' + - 'lib/axlsx/stylesheet/color.rb' + - 'lib/axlsx/workbook/workbook.rb' + +# This cop supports safe autocorrection (--autocorrect). +Performance/RedundantSplitRegexpArgument: + Exclude: + - 'lib/axlsx/workbook/worksheet/sheet_protection.rb' + +# This cop supports safe autocorrection (--autocorrect). +Performance/RegexpMatch: + Exclude: + - 'lib/axlsx/stylesheet/color.rb' + - 'lib/axlsx/workbook/workbook.rb' + - 'lib/axlsx/workbook/worksheet/cell.rb' + +# This cop supports safe autocorrection (--autocorrect). +Performance/StringIdentifierArgument: + Exclude: + - 'lib/axlsx/drawing/pic.rb' + +# This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: separated, grouped Style/AccessorGrouping: |
