|
1 | 1 | # This configuration was generated by |
2 | 2 | # `rubocop --auto-gen-config` |
3 | | -# on 2020-11-27 15:32:33 -0500 using RuboCop version 0.81.0. |
| 3 | +# on 2025-09-29 12:37:09 UTC using RuboCop version 1.81.1. |
4 | 4 | # The point is for the user to remove these configuration records |
5 | 5 | # one by one as the offenses are removed from the code base. |
6 | 6 | # Note that changes in the inspected code, or installation of new |
7 | 7 | # versions of RuboCop, may require this file to be generated again. |
8 | 8 |
|
| 9 | +# Offense count: 1 |
| 10 | +# Configuration parameters: Severity. |
| 11 | +Gemspec/RequiredRubyVersion: |
| 12 | + Exclude: |
| 13 | + - 'slack-ruby-bot-server-rtm.gemspec' |
| 14 | + |
| 15 | +# Offense count: 1 |
| 16 | +# Configuration parameters: AllowComments, AllowEmptyLambdas. |
| 17 | +Lint/EmptyBlock: |
| 18 | + Exclude: |
| 19 | + - 'spec/slack-ruby-bot-server-rtm/config_spec.rb' |
| 20 | + |
9 | 21 | # Offense count: 1 |
10 | 22 | # Configuration parameters: IgnoreImplicitReferences. |
11 | 23 | Lint/ShadowedArgument: |
12 | 24 | Exclude: |
13 | 25 | - 'lib/slack-ruby-bot-server-rtm/lifecycle.rb' |
14 | 26 |
|
15 | 27 | # Offense count: 2 |
16 | | -# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms. |
| 28 | +# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms. |
| 29 | +# CheckDefinitionPathHierarchyRoots: lib, spec, test, src |
17 | 30 | # 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 |
18 | 31 | Naming/FileName: |
19 | 32 | Exclude: |
| 33 | + - 'Rakefile.rb' |
20 | 34 | - 'lib/slack-ruby-bot-server-rtm.rb' |
21 | 35 | - 'lib/slack-ruby-bot-server-rtm/ext/slack-ruby-bot.rb' |
22 | 36 |
|
23 | 37 | # Offense count: 2 |
24 | 38 | # Configuration parameters: ForbiddenDelimiters. |
25 | | -# ForbiddenDelimiters: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$)) |
| 39 | +# ForbiddenDelimiters: (?i-mx:(^|\s)(EO[A-Z]{1}|END)(\s|$)) |
26 | 40 | Naming/HeredocDelimiterNaming: |
27 | 41 | Exclude: |
28 | 42 | - 'sample_apps/sample_app_activerecord/commands/help.rb' |
29 | 43 | - 'sample_apps/sample_app_mongoid/commands/help.rb' |
| 44 | + |
| 45 | +# Offense count: 2 |
| 46 | +RSpec/AnyInstance: |
| 47 | + Exclude: |
| 48 | + - 'spec/slack-ruby-bot-server-rtm/lifecycle_spec.rb' |
| 49 | + |
| 50 | +# Offense count: 7 |
| 51 | +# Configuration parameters: Prefixes, AllowedPatterns. |
| 52 | +# Prefixes: when, with, without |
| 53 | +RSpec/ContextWording: |
| 54 | + Exclude: |
| 55 | + - 'sample_apps/sample_app_activerecord/spec/commands/whoami_spec.rb' |
| 56 | + - 'sample_apps/sample_app_mongoid/spec/commands/whoami_spec.rb' |
| 57 | + - 'spec/slack-ruby-bot-server-rtm/lifecycle_spec.rb' |
| 58 | + - 'spec/slack-ruby-bot-server-rtm/server_spec.rb' |
| 59 | + |
| 60 | +# Offense count: 1 |
| 61 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 62 | +# Configuration parameters: SkipBlocks, EnforcedStyle, OnlyStaticConstants. |
| 63 | +# SupportedStyles: described_class, explicit |
| 64 | +RSpec/DescribedClass: |
| 65 | + Exclude: |
| 66 | + - 'spec/slack-ruby-bot-server-rtm/server_spec.rb' |
| 67 | + |
| 68 | +# Offense count: 1 |
| 69 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 70 | +RSpec/EmptyExampleGroup: |
| 71 | + Exclude: |
| 72 | + - 'spec/slack-ruby-bot-server-rtm/config_spec.rb' |
| 73 | + |
| 74 | +# Offense count: 7 |
| 75 | +# Configuration parameters: . |
| 76 | +# SupportedStyles: have_received, receive |
| 77 | +RSpec/MessageSpies: |
| 78 | + EnforcedStyle: receive |
| 79 | + |
| 80 | +# Offense count: 5 |
| 81 | +RSpec/MultipleExpectations: |
| 82 | + Max: 2 |
| 83 | + |
| 84 | +# Offense count: 4 |
| 85 | +# Configuration parameters: EnforcedStyle, IgnoreSharedExamples. |
| 86 | +# SupportedStyles: always, named_only |
| 87 | +RSpec/NamedSubject: |
| 88 | + Exclude: |
| 89 | + - 'spec/slack-ruby-bot-server-rtm/server_spec.rb' |
| 90 | + |
| 91 | +# Offense count: 4 |
| 92 | +# Configuration parameters: CustomTransform, IgnoreMethods, IgnoreMetadata. |
| 93 | +RSpec/SpecFilePathFormat: |
| 94 | + Exclude: |
| 95 | + - '**/spec/routing/**/*' |
| 96 | + - 'spec/slack-ruby-bot-server-rtm/config_spec.rb' |
| 97 | + - 'spec/slack-ruby-bot-server-rtm/lifecycle_spec.rb' |
| 98 | + - 'spec/slack-ruby-bot-server-rtm/server_spec.rb' |
| 99 | + - 'spec/slack-ruby-bot-server-rtm/version_spec.rb' |
| 100 | + |
| 101 | +# Offense count: 1 |
| 102 | +RSpec/SubjectStub: |
| 103 | + Exclude: |
| 104 | + - 'spec/slack-ruby-bot-server-rtm/server_spec.rb' |
0 commit comments