retrospring/.rubocop.yml

43 lines
605 B
YAML
Raw Normal View History

2022-01-15 01:39:35 +01:00
require:
- rt_rubocop_defaults
- rubocop-rails
2015-07-21 04:14:16 +02:00
AllCops:
TargetRubyVersion: 2.7
2015-07-21 04:14:16 +02:00
Exclude:
2022-01-15 01:39:35 +01:00
- 'config/**/*'
2015-07-21 04:14:16 +02:00
- 'vendor/**/*'
- 'db/schema.rb'
2022-01-15 01:39:35 +01:00
- 'db/seeds.rb'
- 'bin/**/*'
- 'node_modules/**/*'
2015-07-21 04:14:16 +02:00
2022-01-15 01:39:35 +01:00
Rails:
Enabled: true
Rails/InverseOf:
2015-07-21 04:14:16 +02:00
Enabled: false
2022-01-15 01:39:35 +01:00
Metrics/AbcSize:
Max: 20
Exclude:
- 'db/**/*'
2020-04-19 21:47:19 +02:00
Layout/LineLength:
2015-07-21 04:14:16 +02:00
Enabled: false
Metrics/MethodLength:
2022-01-15 01:39:35 +01:00
Max: 15
Exclude:
- 'db/migrate/*.rb'
2015-07-21 04:14:16 +02:00
Style/ClassAndModuleChildren:
Enabled: false
Style/Documentation:
Enabled: false
2022-01-15 01:39:35 +01:00
Style/RescueStandardError:
Enabled: false
Style/Encoding:
Enabled: false