Retrospring/.rubocop.yml

43 lines
605 B
YAML
Raw Normal View History

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