1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-11 22:24:21 +01:00
fab-manager/.rubocop.yml
2022-08-29 17:34:09 +02:00

37 lines
696 B
YAML

require: rubocop-rails
AllCops:
NewCops: enable
Layout/LineLength:
Max: 140
Metrics/MethodLength:
Max: 35
Metrics/CyclomaticComplexity:
Max: 13
Metrics/PerceivedComplexity:
Max: 11
Metrics/AbcSize:
Max: 45
Metrics/ClassLength:
Max: 200
Metrics/BlockLength:
Max: 30
Exclude:
- 'lib/tasks/**/*.rake'
- 'config/routes.rb'
- 'app/pdfs/pdf/*.rb'
- 'test/**/*.rb'
- '**/*_concern.rb'
Metrics/ParameterLists:
CountKeywordArgs: false
Style/RegexpLiteral:
EnforcedStyle: slashes
Style/EmptyElse:
EnforcedStyle: empty
Style/ClassAndModuleChildren:
EnforcedStyle: compact
Style/AndOr:
EnforcedStyle: conditionals
Style/FormatString:
EnforcedStyle: sprintf