|
| 1 | +# This configuration was generated by |
| 2 | +# `rubocop --auto-gen-config` |
| 3 | +# on 2025-07-03 00:33:40 UTC using RuboCop version 1.77.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: 2 |
| 10 | +Lint/DuplicateMethods: |
| 11 | + Exclude: |
| 12 | + - 'lib/git/base.rb' |
| 13 | + - 'lib/git/worktree.rb' |
| 14 | + |
| 15 | +# Offense count: 1 |
| 16 | +# Configuration parameters: AllowComments, AllowEmptyLambdas. |
| 17 | +Lint/EmptyBlock: |
| 18 | + Exclude: |
| 19 | + - 'tests/units/test_archive.rb' |
| 20 | + |
| 21 | +# Offense count: 3 |
| 22 | +# Configuration parameters: AllowedParentClasses. |
| 23 | +Lint/MissingSuper: |
| 24 | + Exclude: |
| 25 | + - 'lib/git/branch.rb' |
| 26 | + - 'lib/git/remote.rb' |
| 27 | + - 'lib/git/worktree.rb' |
| 28 | + |
| 29 | +# Offense count: 8 |
| 30 | +Lint/StructNewOverride: |
| 31 | + Exclude: |
| 32 | + - 'tests/units/test_command_line_error.rb' |
| 33 | + - 'tests/units/test_failed_error.rb' |
| 34 | + - 'tests/units/test_signaled_error.rb' |
| 35 | + - 'tests/units/test_timeout_error.rb' |
| 36 | + |
| 37 | +# Offense count: 2 |
| 38 | +# Configuration parameters: AllowComments, AllowNil. |
| 39 | +Lint/SuppressedException: |
| 40 | + Exclude: |
| 41 | + - 'lib/git/lib.rb' |
| 42 | + - 'tests/units/test_each_conflict.rb' |
| 43 | + |
| 44 | +# Offense count: 1 |
| 45 | +Lint/UselessConstantScoping: |
| 46 | + Exclude: |
| 47 | + - 'lib/git/branch.rb' |
| 48 | + |
| 49 | +# Offense count: 68 |
| 50 | +# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes. |
| 51 | +Metrics/AbcSize: |
| 52 | + Max: 109 |
| 53 | + |
| 54 | +# Offense count: 8 |
| 55 | +# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. |
| 56 | +# AllowedMethods: refine |
| 57 | +Metrics/BlockLength: |
| 58 | + Max: 49 |
| 59 | + |
| 60 | +# Offense count: 21 |
| 61 | +# Configuration parameters: CountComments, CountAsOne. |
| 62 | +Metrics/ClassLength: |
| 63 | + Max: 898 |
| 64 | + |
| 65 | +# Offense count: 14 |
| 66 | +# Configuration parameters: AllowedMethods, AllowedPatterns. |
| 67 | +Metrics/CyclomaticComplexity: |
| 68 | + Max: 21 |
| 69 | + |
| 70 | +# Offense count: 111 |
| 71 | +# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. |
| 72 | +Metrics/MethodLength: |
| 73 | + Max: 51 |
| 74 | + |
| 75 | +# Offense count: 2 |
| 76 | +# Configuration parameters: CountKeywordArgs, MaxOptionalParameters. |
| 77 | +Metrics/ParameterLists: |
| 78 | + Max: 8 |
| 79 | + |
| 80 | +# Offense count: 12 |
| 81 | +# Configuration parameters: AllowedMethods, AllowedPatterns. |
| 82 | +Metrics/PerceivedComplexity: |
| 83 | + Max: 22 |
| 84 | + |
| 85 | +# Offense count: 1 |
| 86 | +Naming/AccessorMethodName: |
| 87 | + Exclude: |
| 88 | + - 'lib/git/object.rb' |
| 89 | + |
| 90 | +# Offense count: 1 |
| 91 | +# Configuration parameters: ForbiddenDelimiters. |
| 92 | +# ForbiddenDelimiters: (?i-mx:(^|\s)(EO[A-Z]{1}|END)(\s|$)) |
| 93 | +Naming/HeredocDelimiterNaming: |
| 94 | + Exclude: |
| 95 | + - 'tests/units/test_signed_commits.rb' |
| 96 | + |
| 97 | +# Offense count: 5 |
| 98 | +# Configuration parameters: Mode, AllowedMethods, AllowedPatterns, AllowBangMethods. |
| 99 | +# AllowedMethods: call |
| 100 | +Naming/PredicateMethod: |
| 101 | + Exclude: |
| 102 | + - 'lib/git/branch.rb' |
| 103 | + - 'lib/git/lib.rb' |
| 104 | + - 'tests/units/test_command_line.rb' |
| 105 | + |
| 106 | +# Offense count: 3 |
| 107 | +# Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros, UseSorbetSigs. |
| 108 | +# NamePrefix: is_, has_, have_, does_ |
| 109 | +# ForbiddenPrefixes: is_, has_, have_, does_ |
| 110 | +# AllowedMethods: is_a? |
| 111 | +# MethodDefinitionMacros: define_method, define_singleton_method |
| 112 | +Naming/PredicatePrefix: |
| 113 | + Exclude: |
| 114 | + - 'spec/**/*' |
| 115 | + - 'lib/git/base.rb' |
| 116 | + |
| 117 | +# Offense count: 2 |
| 118 | +# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns. |
| 119 | +# SupportedStyles: snake_case, normalcase, non_integer |
| 120 | +# AllowedIdentifiers: TLS1_1, TLS1_2, capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64 |
| 121 | +Naming/VariableNumber: |
| 122 | + Exclude: |
| 123 | + - 'tests/units/test_log.rb' |
| 124 | + - 'tests/units/test_log_execute.rb' |
| 125 | + |
| 126 | +# Offense count: 1 |
| 127 | +Style/ClassVars: |
| 128 | + Exclude: |
| 129 | + - 'lib/git/base.rb' |
| 130 | + |
| 131 | +# Offense count: 66 |
| 132 | +# Configuration parameters: AllowedConstants. |
| 133 | +Style/Documentation: |
| 134 | + Enabled: false |
| 135 | + |
| 136 | +# Offense count: 4 |
| 137 | +# This cop supports safe autocorrection (--autocorrect). |
| 138 | +Style/IfUnlessModifier: |
| 139 | + Exclude: |
| 140 | + - 'lib/git/base.rb' |
| 141 | + - 'lib/git/lib.rb' |
| 142 | + |
| 143 | +# Offense count: 2 |
| 144 | +Style/MultilineBlockChain: |
| 145 | + Exclude: |
| 146 | + - 'lib/git/base.rb' |
| 147 | + |
| 148 | +# Offense count: 5 |
| 149 | +# Configuration parameters: AllowedMethods. |
| 150 | +# AllowedMethods: respond_to_missing? |
| 151 | +Style/OptionalBooleanParameter: |
| 152 | + Exclude: |
| 153 | + - 'lib/git/base.rb' |
| 154 | + - 'lib/git/object.rb' |
| 155 | + - 'lib/git/path.rb' |
| 156 | + - 'lib/git/stash.rb' |
| 157 | + |
| 158 | +# Offense count: 64 |
| 159 | +# This cop supports safe autocorrection (--autocorrect). |
| 160 | +# Configuration parameters: AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings. |
| 161 | +# URISchemes: http, https |
| 162 | +Layout/LineLength: |
| 163 | + Max: 346 |
0 commit comments