2025-08-12 16:43:44 +02:00
|
|
|
plugins:
|
2023-05-08 13:48:43 +02:00
|
|
|
- rubocop-rspec
|
2024-06-06 16:55:50 +02:00
|
|
|
- rubocop-rspec_rails
|
2023-05-08 13:48:43 +02:00
|
|
|
- rubocop-rails
|
2023-05-08 13:52:04 +02:00
|
|
|
- rubocop-capybara
|
2023-05-08 13:53:15 +02:00
|
|
|
- rubocop-performance
|
2024-03-04 15:49:23 +00:00
|
|
|
- rubocop-factory_bot
|
2018-09-08 03:49:37 +02:00
|
|
|
|
2014-07-21 13:09:37 +02:00
|
|
|
inherit_from: .rubocop_todo.yml
|
|
|
|
|
|
2020-04-03 17:06:36 -07:00
|
|
|
inherit_mode:
|
|
|
|
|
merge:
|
|
|
|
|
- Exclude
|
|
|
|
|
|
2017-03-24 20:13:02 +01:00
|
|
|
AllCops:
|
2018-09-08 03:49:37 +02:00
|
|
|
UseCache: true
|
|
|
|
|
CacheRootDirectory: tmp/rubocop_cache_rails_dir
|
|
|
|
|
MaxFilesInCache: 4000
|
2020-04-03 16:32:03 -07:00
|
|
|
Exclude:
|
|
|
|
|
- db/schema.rb
|
2021-08-13 10:40:45 +00:00
|
|
|
NewCops: enable
|
2018-09-08 03:49:37 +02:00
|
|
|
|
|
|
|
|
#################### Style ###########################
|
2017-03-28 14:42:21 +05:30
|
|
|
|
2021-08-13 10:40:45 +00:00
|
|
|
Layout/HashAlignment:
|
|
|
|
|
EnforcedHashRocketStyle: table
|
|
|
|
|
EnforcedColonStyle: table
|
|
|
|
|
|
2018-09-08 03:49:37 +02:00
|
|
|
##################### Metrics ##################################
|
2017-03-24 20:13:02 +01:00
|
|
|
|
2018-09-08 03:49:37 +02:00
|
|
|
##################### Rails ##################################
|
2018-05-08 13:47:13 -07:00
|
|
|
|
2018-09-08 03:58:50 +02:00
|
|
|
##################### RSpec ##################################
|
|
|
|
|
|
2018-10-23 19:31:46 -07:00
|
|
|
RSpec/DescribeClass:
|
|
|
|
|
Exclude:
|
|
|
|
|
- "spec/views/**/*"
|
|
|
|
|
- "spec/ability/*"
|
2018-11-13 18:01:35 -08:00
|
|
|
|