|
| 1 | +# This configuration was generated by |
| 2 | +# `rubocop --auto-gen-config` |
| 3 | +# on 2026-01-02 20:06:51 UTC using RuboCop version 1.82.1. |
| 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 | +# Configuration parameters: AllowedMethods. |
| 11 | +# AllowedMethods: enums |
| 12 | +Lint/ConstantDefinitionInBlock: |
| 13 | + Exclude: |
| 14 | + - 'spec/callable_tree/node/external_spec.rb' |
| 15 | + - 'spec/callable_tree/node/internal/strategizable_spec.rb' |
| 16 | + |
| 17 | +# Offense count: 1 |
| 18 | +# Configuration parameters: AllowedParentClasses. |
| 19 | +Lint/MissingSuper: |
| 20 | + Exclude: |
| 21 | + - 'lib/callable_tree/node/root.rb' |
| 22 | + |
| 23 | +# Offense count: 10 |
| 24 | +# Configuration parameters: AllowKeywordBlockArguments. |
| 25 | +Lint/UnderscorePrefixedVariableName: |
| 26 | + Exclude: |
| 27 | + - 'examples/builder/identity.rb' |
| 28 | + - 'examples/builder/logging.rb' |
| 29 | + - 'examples/class/logging.rb' |
| 30 | + |
| 31 | +# Offense count: 8 |
| 32 | +# This cop supports safe autocorrection (--autocorrect). |
| 33 | +# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods, NotImplementedExceptions. |
| 34 | +# NotImplementedExceptions: NotImplementedError |
| 35 | +Lint/UnusedMethodArgument: |
| 36 | + Exclude: |
| 37 | + - 'lib/callable_tree/node/builder.rb' |
| 38 | + - 'lib/callable_tree/node/external/builder.rb' |
| 39 | + - 'spec/callable_tree/node/builder_spec.rb' |
| 40 | + |
| 41 | +# Offense count: 7 |
| 42 | +# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes. |
| 43 | +Metrics/AbcSize: |
| 44 | + Max: 25 |
| 45 | + |
| 46 | +# Offense count: 38 |
| 47 | +# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. |
| 48 | +# AllowedMethods: refine |
| 49 | +Metrics/BlockLength: |
| 50 | + Max: 798 |
| 51 | + |
| 52 | +# Offense count: 1 |
| 53 | +# Configuration parameters: AllowedMethods, AllowedPatterns. |
| 54 | +Metrics/CyclomaticComplexity: |
| 55 | + Max: 8 |
| 56 | + |
| 57 | +# Offense count: 14 |
| 58 | +# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. |
| 59 | +Metrics/MethodLength: |
| 60 | + Max: 45 |
| 61 | + |
| 62 | +# Offense count: 8 |
| 63 | +# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms. |
| 64 | +# CheckDefinitionPathHierarchyRoots: lib, spec, test, src |
| 65 | +# 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 |
| 66 | +Naming/FileName: |
| 67 | + Exclude: |
| 68 | + - 'Rakefile.rb' |
| 69 | + - 'examples/builder/external-verbosify.rb' |
| 70 | + - 'examples/builder/internal-broadcastable.rb' |
| 71 | + - 'examples/builder/internal-composable.rb' |
| 72 | + - 'examples/builder/internal-seekable.rb' |
| 73 | + - 'examples/class/external-verbosify.rb' |
| 74 | + - 'examples/class/internal-broadcastable.rb' |
| 75 | + - 'examples/class/internal-composable.rb' |
| 76 | + - 'examples/class/internal-seekable.rb' |
| 77 | + |
| 78 | +# Offense count: 1 |
| 79 | +# Configuration parameters: Mode, AllowedMethods, AllowedPatterns, AllowBangMethods, WaywardPredicates. |
| 80 | +# AllowedMethods: call |
| 81 | +# WaywardPredicates: nonzero? |
| 82 | +Naming/PredicateMethod: |
| 83 | + Exclude: |
| 84 | + - 'spec/callable_tree/node/builder_spec.rb' |
| 85 | + |
| 86 | +# Offense count: 1 |
| 87 | +Style/ClassVars: |
| 88 | + Exclude: |
| 89 | + - 'lib/callable_tree/node/internal/strategizable.rb' |
| 90 | + |
| 91 | +# Offense count: 40 |
| 92 | +# Configuration parameters: AllowedConstants. |
| 93 | +Style/Documentation: |
| 94 | + Enabled: false |
| 95 | + |
| 96 | +# Offense count: 45 |
| 97 | +Style/MultilineBlockChain: |
| 98 | + Exclude: |
| 99 | + - 'examples/builder/external-verbosify.rb' |
| 100 | + - 'examples/builder/hooks.rb' |
| 101 | + - 'examples/builder/identity.rb' |
| 102 | + - 'examples/builder/internal-seekable.rb' |
| 103 | + - 'examples/builder/logging.rb' |
| 104 | + - 'examples/class/hooks.rb' |
| 105 | + - 'examples/class/logging.rb' |
| 106 | + - 'lib/callable_tree/node/internal/strategy/seek.rb' |
| 107 | + |
| 108 | +# Offense count: 1 |
| 109 | +# Configuration parameters: AllowedMethods. |
| 110 | +# AllowedMethods: respond_to_missing? |
| 111 | +Style/OptionalBooleanParameter: |
| 112 | + Exclude: |
| 113 | + - 'lib/callable_tree/node/builder.rb' |
| 114 | + |
| 115 | +# Offense count: 5 |
| 116 | +# This cop supports safe autocorrection (--autocorrect). |
| 117 | +# Configuration parameters: AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, AllowRBSInlineAnnotation, AllowCopDirectives, AllowedPatterns, SplitStrings. |
| 118 | +# URISchemes: http, https |
| 119 | +Layout/LineLength: |
| 120 | + Max: 210 |
0 commit comments