|
1 | 1 | # This configuration was generated by |
2 | 2 | # `rubocop --auto-gen-config` |
3 | | -# on 2019-04-16 08:56:55 -0400 using RuboCop version 0.67.2. |
| 3 | +# on 2024-10-20 13:24:03 UTC using RuboCop version 1.67.0. |
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 | 9 | # Offense count: 1 |
10 | | -# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms. |
| 10 | +# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms. |
| 11 | +# CheckDefinitionPathHierarchyRoots: lib, spec, test, src |
11 | 12 | # 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 |
12 | 13 | Naming/FileName: |
13 | 14 | Exclude: |
| 15 | + - 'Rakefile.rb' |
14 | 16 | - 'slack-api-explorer.rb' |
15 | 17 |
|
16 | 18 | # Offense count: 2 |
17 | | -# Configuration parameters: Blacklist. |
18 | | -# Blacklist: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$)) |
| 19 | +# Configuration parameters: ForbiddenDelimiters. |
| 20 | +# ForbiddenDelimiters: (?i-mx:(^|\s)(EO[A-Z]{1}|END)(\s|$)) |
19 | 21 | Naming/HeredocDelimiterNaming: |
20 | 22 | Exclude: |
21 | 23 | - 'slack-api-explorer/commands/help.rb' |
22 | 24 | - 'slack-api-explorer/info.rb' |
| 25 | + |
| 26 | +# Offense count: 6 |
| 27 | +RSpec/AnyInstance: |
| 28 | + Exclude: |
| 29 | + - 'spec/api/endpoints/status_endpoint_spec.rb' |
| 30 | + - 'spec/api/endpoints/teams_endpoint_spec.rb' |
| 31 | + - 'spec/integration/teams_spec.rb' |
| 32 | + |
| 33 | +# Offense count: 17 |
| 34 | +# Configuration parameters: Prefixes, AllowedPatterns. |
| 35 | +# Prefixes: when, with, without |
| 36 | +RSpec/ContextWording: |
| 37 | + Exclude: |
| 38 | + - 'spec/api/404_spec.rb' |
| 39 | + - 'spec/api/cors_spec.rb' |
| 40 | + - 'spec/api/endpoints/status_endpoint_spec.rb' |
| 41 | + - 'spec/api/endpoints/teams_endpoint_spec.rb' |
| 42 | + - 'spec/api/swagger_documentation_spec.rb' |
| 43 | + - 'spec/integration/teams_spec.rb' |
| 44 | + - 'spec/slack-api-explorer/commands/slack_spec.rb' |
| 45 | + - 'spec/support/api/endpoints/it_behaves_like_a_cursor_api.rb' |
| 46 | + |
| 47 | +# Offense count: 10 |
| 48 | +# Configuration parameters: CountAsOne. |
| 49 | +RSpec/ExampleLength: |
| 50 | + Max: 27 |
| 51 | + |
| 52 | +# Offense count: 1 |
| 53 | +# Configuration parameters: AssignmentOnly. |
| 54 | +RSpec/InstanceVariable: |
| 55 | + Exclude: |
| 56 | + - 'spec/support/api/endpoints/it_behaves_like_a_cursor_api.rb' |
| 57 | + |
| 58 | +# Offense count: 5 |
| 59 | +RSpec/LetSetup: |
| 60 | + Exclude: |
| 61 | + - 'spec/api/endpoints/status_endpoint_spec.rb' |
| 62 | + - 'spec/api/endpoints/teams_endpoint_spec.rb' |
| 63 | + |
| 64 | +# Offense count: 13 |
| 65 | +# Configuration parameters: . |
| 66 | +# SupportedStyles: have_received, receive |
| 67 | +RSpec/MessageSpies: |
| 68 | + EnforcedStyle: receive |
| 69 | + |
| 70 | +# Offense count: 28 |
| 71 | +RSpec/MultipleExpectations: |
| 72 | + Max: 7 |
| 73 | + |
| 74 | +# Offense count: 2 |
| 75 | +# Configuration parameters: EnforcedStyle, IgnoreSharedExamples. |
| 76 | +# SupportedStyles: always, named_only |
| 77 | +RSpec/NamedSubject: |
| 78 | + Exclude: |
| 79 | + - 'spec/api/swagger_documentation_spec.rb' |
| 80 | + |
| 81 | +# Offense count: 1 |
| 82 | +# Configuration parameters: AllowedGroups. |
| 83 | +RSpec/NestedGroups: |
| 84 | + Max: 4 |
| 85 | + |
| 86 | +# Offense count: 2 |
| 87 | +RSpec/RepeatedExampleGroupDescription: |
| 88 | + Exclude: |
| 89 | + - 'spec/api/endpoints/teams_endpoint_spec.rb' |
| 90 | + |
| 91 | +# Offense count: 8 |
| 92 | +# Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata. |
| 93 | +# Include: **/*_spec.rb |
| 94 | +RSpec/SpecFilePathFormat: |
| 95 | + Exclude: |
| 96 | + - '**/spec/routing/**/*' |
| 97 | + - 'spec/api/404_spec.rb' |
| 98 | + - 'spec/api/cors_spec.rb' |
| 99 | + - 'spec/api/robots_spec.rb' |
| 100 | + - 'spec/api/swagger_documentation_spec.rb' |
| 101 | + - 'spec/slack-api-explorer/commands/default_spec.rb' |
| 102 | + - 'spec/slack-api-explorer/commands/slack_spec.rb' |
| 103 | + - 'spec/slack-api-explorer/commands/unknown_spec.rb' |
| 104 | + - 'spec/slack-api-explorer/version_spec.rb' |
| 105 | + |
| 106 | +# Offense count: 1 |
| 107 | +RSpec/StubbedMock: |
| 108 | + Exclude: |
| 109 | + - 'spec/api/endpoints/teams_endpoint_spec.rb' |
| 110 | + |
| 111 | +# Offense count: 2 |
| 112 | +# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames. |
| 113 | +RSpec/VerifiedDoubles: |
| 114 | + Exclude: |
| 115 | + - 'spec/api/endpoints/teams_endpoint_spec.rb' |
| 116 | + |
| 117 | +# Offense count: 1 |
| 118 | +RSpec/VoidExpect: |
| 119 | + Exclude: |
| 120 | + - 'spec/integration/teams_spec.rb' |
| 121 | + |
| 122 | +# Offense count: 15 |
| 123 | +# This cop supports safe autocorrection (--autocorrect). |
| 124 | +# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns. |
| 125 | +# URISchemes: http, https |
| 126 | +Layout/LineLength: |
| 127 | + Max: 175 |
0 commit comments