main
  1require:
  2  - rubocop/cop/internal_affairs
  3  - rubocop-rspec
  4AllCops:
  5  Exclude:
  6    - 'coverage/**/*'
  7    - 'pkg/**/*'
  8    - 'tmp/**/*'
  9    - 'vendor/**/*'
 10  TargetRubyVersion: 3.2
 11
 12Layout/ArgumentAlignment:
 13  EnforcedStyle: with_fixed_indentation
 14
 15Layout/EndOfLine:
 16  EnforcedStyle: lf
 17
 18Layout/FirstArrayElementIndentation:
 19  EnforcedStyle: consistent
 20
 21Layout/LineLength:
 22  Exclude:
 23    - 'spec/**/*.rb'
 24  IgnoredPatterns:
 25    - '^#*'
 26  Max: 80
 27
 28Layout/MultilineMethodCallIndentation:
 29  Enabled: true
 30  EnforcedStyle: indented
 31
 32Layout/ParameterAlignment:
 33  Enabled: true
 34  EnforcedStyle: with_fixed_indentation
 35  IndentationWidth: 2
 36
 37Lint/AmbiguousBlockAssociation:
 38  Exclude:
 39    - 'spec/**/*.rb'
 40
 41Lint/EmptyFile:
 42  Exclude:
 43    - 'lib/scim/kit/v2/templates/nil_class.json.jbuilder'
 44
 45Lint/RaiseException:
 46  Enabled: true
 47
 48Lint/StructNewOverride:
 49  Enabled: true
 50
 51Metrics/AbcSize:
 52  Exclude:
 53    - 'lib/scim/kit/v2/service_provider_configuration.rb'
 54
 55Metrics/BlockLength:
 56  Exclude:
 57    - '*.gemspec'
 58    - 'Rakefile'
 59    - 'spec/**/*.rb'
 60
 61Metrics/ModuleLength:
 62  Exclude:
 63    - 'spec/**/*.rb'
 64
 65Naming/FileName:
 66  Exclude:
 67    - 'lib/scim-kit.rb'
 68
 69Naming/RescuedExceptionsVariableName:
 70  PreferredName: error
 71
 72Style/AccessorGrouping:
 73  Enabled: false
 74
 75Style/Documentation:
 76  Enabled: false
 77
 78Style/HashEachMethods:
 79  Enabled: true
 80
 81Style/HashTransformKeys:
 82  Enabled: true
 83
 84Style/HashTransformValues:
 85  Enabled: true
 86
 87Style/IfUnlessModifier:
 88  Exclude:
 89    - 'lib/scim/kit/v2/attribute.rb'
 90
 91Style/StringLiterals:
 92  EnforcedStyle: 'single_quotes'
 93
 94Style/SymbolProc:
 95  Enabled: false
 96
 97Style/TrailingCommaInArrayLiteral:
 98  Enabled: false
 99
100Style/TrailingCommaInHashLiteral:
101  Enabled: false
102
103RSpec/FilePath:
104  Enabled: false
105
106RSpec/MultipleMemoizedHelpers:
107  Enabled: false
108
109RSpec/NamedSubject:
110  Enabled: false
111
112RSpec/NestedGroups:
113  Max: 4