1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/.rubocop.yml

37 lines
696 B
YAML
Raw Normal View History

2022-07-19 12:13:50 +02:00
require: rubocop-rails
2022-07-13 10:47:10 +02:00
AllCops:
NewCops: enable
2022-07-19 12:13:50 +02:00
Layout/LineLength:
2019-03-26 10:06:29 +01:00
Max: 140
Metrics/MethodLength:
2019-07-30 10:27:47 +02:00
Max: 35
Metrics/CyclomaticComplexity:
Max: 13
Metrics/PerceivedComplexity:
Max: 11
Metrics/AbcSize:
2019-01-09 16:28:23 +01:00
Max: 45
2019-01-17 16:26:03 +01:00
Metrics/ClassLength:
Max: 200
2019-02-13 12:59:28 +01:00
Metrics/BlockLength:
Max: 30
2019-02-13 12:59:28 +01:00
Exclude:
- 'lib/tasks/**/*.rake'
2019-02-25 15:04:38 +01:00
- 'config/routes.rb'
- 'app/pdfs/pdf/*.rb'
- 'test/**/*.rb'
2022-08-29 17:34:09 +02:00
- '**/*_concern.rb'
Metrics/ParameterLists:
CountKeywordArgs: false
2018-12-03 10:22:10 +01:00
Style/RegexpLiteral:
EnforcedStyle: slashes
Style/EmptyElse:
EnforcedStyle: empty
Style/ClassAndModuleChildren:
EnforcedStyle: compact
2019-01-09 12:07:31 +01:00
Style/AndOr:
EnforcedStyle: conditionals
2019-04-04 11:57:36 +02:00
Style/FormatString:
EnforcedStyle: sprintf