AllCops:
  Include:
    - 'Gemfile'
    - 'Rakefile'
  Exclude:
    - 'bin/*'
    - 'db/schema.rb'
    - 'db/migrate/*'

ParameterLists:
  Max: 4
  CountKeywordArgs: true

ClassLength:
  Max: 100

LineLength:
  Enabled: 100

MethodLength:
  CountComments: false
  Max: 15

HashSyntax:
  EnforcedStyle: ruby19

EmptyLinesAroundAccessModifier:
  Enabled: true

EndAlignment:
  AlignWith: variable

CaseIndentation:
  IndentWhenRelativeTo: end
  IndentOneStep: false

StringLiterals:
  EnforcedStyle: single_quotes

DotPosition:
  EnforcedStyle: leading

Metrics/ParameterLists:
  Description: Avoid parameter lists longer than three or four parameters.
  Enabled: true
  Max: 4
  CountKeywordArgs: true

Metrics/ClassLength:
  Description: Avoid classes longer than 100 lines of code.
  Enabled: true
  CountComments: false
  Max: 100

Metrics/LineLength:
  Description: Limit lines to 100 characters.
  Enabled: true
  Max: 100

Metrics/MethodLength:
  Description: Avoid methods longer than 15 lines of code.
  Enabled: true
  CountComments: false
  Max: 15

Metrics/BlockNesting:
  Description: Avoid excessive block nesting
  Enabled: true
  Max: 3

Metrics/AbcSize:
  Description: A calculated magnitude based on number of assignments, branches, and conditions.
  Enabled: false

Style/StringLiterals:
  Description: Checks if uses of quotes match the configured preference.
  Enabled: true
  EnforcedStyle: single_quotes

Style/DotPosition:
  Description: Checks the position of the dot in multi-line method calls.
  Enabled: true
  EnforcedStyle: leading

Update Rubocop config based on the latest version
Update Rubocop config based on the latest version
