|
| 1 | +# This configuration was generated by |
| 2 | +# `rubocop --auto-gen-config --exclude-limit 99999` |
| 3 | +# on 2022-10-12 04:57:08 UTC using RuboCop version 1.36.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: 1 |
| 10 | +# Configuration parameters: Include. |
| 11 | +# Include: **/*.gemspec |
| 12 | +Gemspec/RequiredRubyVersion: |
| 13 | + Exclude: |
| 14 | + - 'ruboty-github.gemspec' |
| 15 | + |
| 16 | +# Offense count: 1 |
| 17 | +Lint/UnreachableCode: |
| 18 | + Exclude: |
| 19 | + - 'lib/ruboty/github/actions/close_issue.rb' |
| 20 | + |
| 21 | +# Offense count: 1 |
| 22 | +# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes. |
| 23 | +Metrics/AbcSize: |
| 24 | + Max: 24 |
| 25 | + |
| 26 | +# Offense count: 2 |
| 27 | +# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods. |
| 28 | +Metrics/MethodLength: |
| 29 | + Max: 14 |
| 30 | + |
| 31 | +# Offense count: 2 |
| 32 | +# Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros. |
| 33 | +# NamePrefix: is_, has_, have_ |
| 34 | +# ForbiddenPrefixes: is_, has_, have_ |
| 35 | +# AllowedMethods: is_a? |
| 36 | +# MethodDefinitionMacros: define_method, define_singleton_method |
| 37 | +Naming/PredicateName: |
| 38 | + Exclude: |
| 39 | + - 'spec/**/*' |
| 40 | + - 'lib/ruboty/github/actions/base.rb' |
| 41 | + - 'lib/ruboty/github/actions/close_issue.rb' |
| 42 | + |
| 43 | +# Offense count: 3 |
| 44 | +# Configuration parameters: . |
| 45 | +# SupportedStyles: have_received, receive |
| 46 | +RSpec/MessageSpies: |
| 47 | + EnforcedStyle: receive |
| 48 | + |
| 49 | +# Offense count: 2 |
| 50 | +RSpec/MultipleExpectations: |
| 51 | + Max: 2 |
| 52 | + |
| 53 | +# Offense count: 11 |
| 54 | +# Configuration parameters: AllowSubject. |
| 55 | +RSpec/MultipleMemoizedHelpers: |
| 56 | + Max: 13 |
| 57 | + |
| 58 | +# Offense count: 1 |
| 59 | +RSpec/NoExpectationExample: |
| 60 | + Exclude: |
| 61 | + - 'spec/ruboty/handlers/github_spec.rb' |
| 62 | + |
| 63 | +# Offense count: 9 |
| 64 | +# Configuration parameters: AllowedConstants. |
| 65 | +Style/Documentation: |
| 66 | + Exclude: |
| 67 | + - 'spec/**/*' |
| 68 | + - 'test/**/*' |
| 69 | + - 'lib/ruboty/github/actions/base.rb' |
| 70 | + - 'lib/ruboty/github/actions/close_issue.rb' |
| 71 | + - 'lib/ruboty/github/actions/create_deploy_pull_request.rb' |
| 72 | + - 'lib/ruboty/github/actions/create_issue.rb' |
| 73 | + - 'lib/ruboty/github/actions/create_pull_request.rb' |
| 74 | + - 'lib/ruboty/github/actions/merge_pull_request.rb' |
| 75 | + - 'lib/ruboty/github/actions/remember.rb' |
| 76 | + - 'lib/ruboty/github/actions/search_issues.rb' |
| 77 | + - 'lib/ruboty/handlers/github.rb' |
| 78 | + |
| 79 | +# Offense count: 1 |
| 80 | +# This cop supports safe autocorrection (--autocorrect). |
| 81 | +# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns. |
| 82 | +# URISchemes: http, https |
| 83 | +Layout/LineLength: |
| 84 | + Max: 148 |
0 commit comments