|
| 1 | +# This configuration was generated by |
| 2 | +# `rubocop --auto-gen-config --auto-gen-only-exclude` |
| 3 | +# on 2024-10-19 10:08:34 UTC using RuboCop version 1.67.0. |
| 4 | +# The point is for the user to remove these configuration records |
| 5 | +# one by one as the offenses are removed from the code base. |
| 6 | +# Note that changes in the inspected code, or installation of new |
| 7 | +# versions of RuboCop, may require this file to be generated again. |
| 8 | + |
| 9 | +# Offense count: 31 |
| 10 | +# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes. |
| 11 | +Metrics/AbcSize: |
| 12 | + Max: 112 |
| 13 | + Exclude: |
| 14 | + - 'lib/super_diff/basic/operation_tree_builders/hash.rb' |
| 15 | + |
| 16 | +# Offense count: 993 |
| 17 | +# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. |
| 18 | +# AllowedMethods: refine |
| 19 | +Metrics/BlockLength: |
| 20 | + Max: 5536 |
| 21 | + |
| 22 | +# Offense count: 2 |
| 23 | +# Configuration parameters: CountBlocks, CountModifierForms, Max. |
| 24 | +Metrics/BlockNesting: |
| 25 | + Exclude: |
| 26 | + - 'lib/super_diff/basic/operation_tree_builders/hash.rb' |
| 27 | + |
| 28 | +# Offense count: 13 |
| 29 | +# Configuration parameters: CountComments, Max, CountAsOne. |
| 30 | +Metrics/ClassLength: |
| 31 | + Exclude: |
| 32 | + - 'lib/super_diff/basic/diff_formatters/collection.rb' |
| 33 | + - 'lib/super_diff/basic/operation_tree_builders/hash.rb' |
| 34 | + - 'lib/super_diff/basic/operation_tree_flatteners/collection.rb' |
| 35 | + - 'lib/super_diff/core/configuration.rb' |
| 36 | + - 'lib/super_diff/core/inspection_tree.rb' |
| 37 | + - 'lib/super_diff/core/tiered_lines_elider.rb' |
| 38 | + - 'lib/super_diff/csi/document.rb' |
| 39 | + - 'lib/super_diff/csi/eight_bit_color.rb' |
| 40 | + - 'lib/super_diff/csi/four_bit_color.rb' |
| 41 | + - 'lib/super_diff/rspec/matcher_text_builders/base.rb' |
| 42 | + - 'spec/support/command_runner.rb' |
| 43 | + - 'spec/support/integration/test_programs/base.rb' |
| 44 | + - 'support/test_plan.rb' |
| 45 | + |
| 46 | +# Offense count: 3 |
| 47 | +# Configuration parameters: AllowedMethods, AllowedPatterns, Max. |
| 48 | +Metrics/CyclomaticComplexity: |
| 49 | + Exclude: |
| 50 | + - 'lib/super_diff/basic/operation_tree_builders/hash.rb' |
| 51 | + - 'lib/super_diff/core/abstract_operation_tree_builder.rb' |
| 52 | + - 'lib/super_diff/csi/document.rb' |
| 53 | + |
| 54 | +# Offense count: 89 |
| 55 | +# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. |
| 56 | +Metrics/MethodLength: |
| 57 | + Max: 114 |
| 58 | + |
| 59 | +# Offense count: 1 |
| 60 | +# Configuration parameters: CountComments, Max, CountAsOne. |
| 61 | +Metrics/ModuleLength: |
| 62 | + Exclude: |
| 63 | + - 'lib/super_diff.rb' |
| 64 | + |
| 65 | +# Offense count: 3 |
| 66 | +# Configuration parameters: Max, CountKeywordArgs, MaxOptionalParameters. |
| 67 | +Metrics/ParameterLists: |
| 68 | + Exclude: |
| 69 | + - 'lib/super_diff/csi/eight_bit_color.rb' |
| 70 | + - 'spec/support/integration/helpers.rb' |
| 71 | + - 'spec/support/models/player.rb' |
| 72 | + |
| 73 | +# Offense count: 4 |
| 74 | +# Configuration parameters: AllowedMethods, AllowedPatterns, Max. |
| 75 | +Metrics/PerceivedComplexity: |
| 76 | + Exclude: |
| 77 | + - 'lib/super_diff/basic/operation_tree_builders/hash.rb' |
| 78 | + - 'lib/super_diff/core/abstract_operation_tree_builder.rb' |
| 79 | + - 'lib/super_diff/core/tiered_lines_elider.rb' |
| 80 | + - 'lib/super_diff/csi/document.rb' |
| 81 | + |
| 82 | +# Offense count: 1 |
| 83 | +# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms. |
| 84 | +# CheckDefinitionPathHierarchyRoots: lib, spec, test, src |
| 85 | +# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS |
| 86 | + |
| 87 | +# Offense count: 207 |
| 88 | +# Configuration parameters: AllowedConstants. |
| 89 | +Style/Documentation: |
| 90 | + Enabled: false |
| 91 | + |
| 92 | +# Offense count: 3 |
| 93 | +# This cop supports safe autocorrection (--autocorrect). |
| 94 | +# Configuration parameters: EnforcedStyle. |
| 95 | +# SupportedStyles: format, sprintf, percent |
| 96 | +Style/FormatString: |
| 97 | + Exclude: |
| 98 | + - 'lib/super_diff/core/helpers.rb' |
| 99 | + - 'spec/unit/core/helpers_spec.rb' |
| 100 | + |
| 101 | +# Offense count: 2 |
| 102 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 103 | +# Configuration parameters: EnforcedStyle, Autocorrect. |
| 104 | +# SupportedStyles: module_function, extend_self, forbidden |
| 105 | +Style/ModuleFunction: |
| 106 | + Exclude: |
| 107 | + - 'lib/super_diff/core/helpers.rb' |
| 108 | + - 'spec/support/unit/helpers.rb' |
0 commit comments