|
| 1 | +# This configuration was generated by |
| 2 | +# `rubocop --auto-gen-config` |
| 3 | +# on 2025-01-22 21:38:20 UTC using RuboCop version 1.71.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 | +# This cop supports safe autocorrection (--autocorrect). |
| 11 | +# Configuration parameters: EnforcedStyleAlignWith. |
| 12 | +# SupportedStylesAlignWith: either, start_of_block, start_of_line |
| 13 | +Layout/BlockAlignment: |
| 14 | + Exclude: |
| 15 | + - 'spec/lib/workos/session_spec.rb' |
| 16 | + |
| 17 | +# Offense count: 2 |
| 18 | +# This cop supports safe autocorrection (--autocorrect). |
| 19 | +Layout/EmptyLinesAroundMethodBody: |
| 20 | + Exclude: |
| 21 | + - 'lib/workos/mfa.rb' |
| 22 | + - 'lib/workos/user_management.rb' |
| 23 | + |
| 24 | +# Offense count: 1 |
| 25 | +# This cop supports safe autocorrection (--autocorrect). |
| 26 | +Layout/SpaceAroundMethodCallOperator: |
| 27 | + Exclude: |
| 28 | + - 'spec/lib/workos/directory_sync_spec.rb' |
| 29 | + |
| 30 | +# Offense count: 1 |
| 31 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 32 | +Lint/DuplicateRequire: |
| 33 | + Exclude: |
| 34 | + - 'lib/workos/session.rb' |
| 35 | + |
| 36 | +# Offense count: 3 |
| 37 | +# Configuration parameters: AllowedParentClasses. |
| 38 | +Lint/MissingSuper: |
| 39 | + Exclude: |
| 40 | + - 'lib/workos/directory_group.rb' |
| 41 | + - 'lib/workos/directory_user.rb' |
| 42 | + - 'lib/workos/errors.rb' |
| 43 | + |
| 44 | +# Offense count: 5 |
| 45 | +# Configuration parameters: CountComments, CountAsOne. |
| 46 | +Metrics/ClassLength: |
| 47 | + Max: 624 |
| 48 | + |
| 49 | +# Offense count: 8 |
| 50 | +# This cop supports safe autocorrection (--autocorrect). |
| 51 | +# Configuration parameters: EnforcedStyle. |
| 52 | +# SupportedStyles: separated, grouped |
| 53 | +Style/AccessorGrouping: |
| 54 | + Exclude: |
| 55 | + - 'lib/workos/errors.rb' |
| 56 | + |
| 57 | +# Offense count: 34 |
| 58 | +# This cop supports safe autocorrection (--autocorrect). |
| 59 | +# Configuration parameters: EnforcedStyle. |
| 60 | +# SupportedStyles: braces, no_braces |
| 61 | +Style/HashAsLastArrayItem: |
| 62 | + Exclude: |
| 63 | + - 'spec/lib/workos/directory_sync_spec.rb' |
| 64 | + - 'spec/lib/workos/event_spec.rb' |
| 65 | + - 'spec/lib/workos/organizations_spec.rb' |
| 66 | + - 'spec/lib/workos/sso_spec.rb' |
| 67 | + - 'spec/lib/workos/user_management_spec.rb' |
| 68 | + |
| 69 | +# Offense count: 2 |
| 70 | +# This cop supports safe autocorrection (--autocorrect). |
| 71 | +Style/KeywordParametersOrder: |
| 72 | + Exclude: |
| 73 | + - 'lib/workos/organizations.rb' |
| 74 | + |
| 75 | +# Offense count: 3 |
| 76 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 77 | +# Configuration parameters: SafeForConstants. |
| 78 | +Style/RedundantFetchBlock: |
| 79 | + Exclude: |
| 80 | + - 'spec/lib/workos/cache_spec.rb' |
| 81 | + |
| 82 | +# Offense count: 1 |
| 83 | +# This cop supports safe autocorrection (--autocorrect). |
| 84 | +# Configuration parameters: AllowMultipleReturnValues. |
| 85 | +Style/RedundantReturn: |
| 86 | + Exclude: |
| 87 | + - 'lib/workos/directory_user.rb' |
| 88 | + |
| 89 | +# Offense count: 2 |
| 90 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 91 | +Style/SlicingWithRange: |
| 92 | + Exclude: |
| 93 | + - 'lib/workos/deprecated_hash_wrapper.rb' |
| 94 | + - 'lib/workos/session.rb' |
0 commit comments