Files
Eric Bell 392781f7aa chore: init commit
in worker.../repo/GITFOLDER.zip is the .git folder.
2026-08-11 14:44:09 -04:00

86 lines
1.6 KiB
YAML

# .rubocop.yml
plugins:
- rubocop-rails
inherit_from:
- .rubocop_rails_default.yml
AllCops:
NewCops: enable
Exclude:
- 'db/**/*'
- 'bin/**/*'
- 'node_modules/**/*'
- 'vendor/**/*'
- 'config/initializers/devise.rb'
- 'config/initializers/permissions_policy.rb'
- 'config/initializers/filter_parameter_logging.rb'
- 'config/initializers/inflections.rb'
- 'config/initializers/assets.rb'
- 'config/initializers/content_security_policy.rb'
- 'config/initializers/api_keys.rb'
SuggestExtensions: false
Style/Documentation:
Enabled: false
Style/StringLiterals:
EnforcedStyle: double_quotes
Layout/LineLength:
Max: 120
Metrics/BlockLength:
Max: 50
Exclude:
- 'config/routes.rb'
- 'spec/**/*'
- 'test/**/*'
Metrics/ClassLength:
Exclude:
- 'app/models/order.rb'
- 'spec/**/*'
- 'test/**/*'
Metrics/MethodLength:
Max: 20
Exclude:
- 'app/helpers/components/**/*'
- 'spec/**/*'
- 'test/**/*'
Metrics/AbcSize:
Max: 25
Exclude:
- 'spec/**/*'
- 'test/**/*'
Metrics/CyclomaticComplexity:
Exclude:
- 'app/helpers/components/**/*'
- 'spec/**/*'
- 'test/**/*'
Metrics/PerceivedComplexity:
Exclude:
- 'app/helpers/components/**/*'
- 'spec/**/*'
- 'test/**/*'
Metrics/ParameterLists:
Exclude:
- 'app/helpers/components/**/*'
Naming/MethodParameterName:
MinNameLength: 2
Layout/FirstMethodArgumentLineBreak:
Enabled: true
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
Layout/FirstArgumentIndentation:
EnforcedStyle: consistent