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

41 lines
831 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:
Max: 145
Metrics/MethodLength:
2019-07-30 10:27:47 +02:00
Max: 35
Metrics/CyclomaticComplexity:
Max: 14
Metrics/PerceivedComplexity:
Max: 14
Metrics/AbcSize:
2019-01-09 16:28:23 +01:00
Max: 45
2019-01-17 16:26:03 +01:00
Metrics/ClassLength:
2022-09-27 17:21:43 +02:00
Max: 210
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
Rails/RedundantPresenceValidationOnBelongsTo:
Enabled: false
Rails/UnknownEnv:
Environments: development, test, staging, production