additionals/.rubocop.yml

54 lines
728 B
YAML
Raw Normal View History

2019-04-09 09:32:01 +03:00
require: rubocop-performance
Rails:
Enabled: true
AllCops:
TargetRubyVersion: 2.3
TargetRailsVersion: 5.2
Metrics/AbcSize:
Max: 65
Metrics/BlockLength:
2018-04-04 09:21:17 +03:00
Max: 60
Metrics/ClassLength:
Enabled: false
Metrics/CyclomaticComplexity:
2018-04-19 16:02:26 +03:00
Max: 20
2015-10-09 19:20:04 +03:00
Metrics/LineLength:
Max: 140
Metrics/MethodLength:
Max: 60
Metrics/ModuleLength:
Enabled: false
2015-12-06 14:48:33 +03:00
2015-10-09 19:20:04 +03:00
Metrics/PerceivedComplexity:
2018-11-17 10:18:46 +03:00
Max: 25
2015-10-09 19:20:04 +03:00
Rails/SkipsModelValidations:
2015-10-10 15:11:02 +03:00
Enabled: false
Rails/CreateTableWithTimestamps:
Enabled: false
Performance/ChainArrayAllocation:
Enabled: true
Style/AutoResourceCleanup:
Enabled: true
2016-10-19 14:30:14 +03:00
Style/FrozenStringLiteralComment:
Enabled: false
Style/Documentation:
Enabled: false
2018-07-15 11:07:31 +03:00
Style/ExpandPathArguments:
Enabled: false