2018-11-21 11:32:50 +01:00
|
|
|
Metrics/LineLength:
|
2019-03-26 10:06:29 +01:00
|
|
|
Max: 140
|
2018-11-26 11:33:48 +01:00
|
|
|
Metrics/MethodLength:
|
2019-07-30 10:27:47 +02:00
|
|
|
Max: 35
|
2018-12-03 15:10:04 +01:00
|
|
|
Metrics/CyclomaticComplexity:
|
2019-09-18 13:28:53 +02:00
|
|
|
Max: 13
|
2018-12-03 15:10:04 +01:00
|
|
|
Metrics/PerceivedComplexity:
|
|
|
|
Max: 9
|
|
|
|
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:
|
2019-08-01 11:26:40 +02:00
|
|
|
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'
|
2019-08-01 11:26:40 +02:00
|
|
|
- 'app/pdfs/pdf/*.rb'
|
2019-09-19 13:57:33 +02:00
|
|
|
Metrics/ParameterLists:
|
|
|
|
CountKeywordArgs: false
|
2018-11-26 11:33:48 +01:00
|
|
|
Style/BracesAroundHashParameters:
|
2019-01-31 17:22:23 +01:00
|
|
|
EnforcedStyle: context_dependent
|
2018-12-03 10:22:10 +01:00
|
|
|
Style/RegexpLiteral:
|
|
|
|
EnforcedStyle: slashes
|
2018-12-03 15:10:04 +01:00
|
|
|
Style/EmptyElse:
|
|
|
|
EnforcedStyle: empty
|
2019-01-07 15:34:20 +01:00
|
|
|
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
|