mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-01 02:03:22 +00:00
I think that rspec-rails loaded the other extensions already but Rubocop was suggesting these extensions to be loaded as well. The alternative is to disable suggestions of new extensions but that could hide new shiny tools when they become available.
29 lines
781 B
YAML
29 lines
781 B
YAML
# This is our main Rubocop configuration for developers. It is used when you run:
|
|
#
|
|
# bundle exec rubocop
|
|
#
|
|
# The configuration is split into three files. Look into those files for more details.
|
|
#
|
|
require:
|
|
- rubocop-capybara
|
|
- rubocop-factory_bot
|
|
- rubocop-rails
|
|
- rubocop-rspec
|
|
- rubocop-rspec_rails
|
|
|
|
inherit_from:
|
|
|
|
# The automatically generated todo list to ignore all current violations.
|
|
- .rubocop_todo.yml
|
|
|
|
# The relaxed style rules as a common starting point which we can refine.
|
|
- .rubocop_relaxed_styleguide.yml
|
|
|
|
# Our Open Food Network style guides. If you want to see all violations,
|
|
# then use only that configuration:
|
|
#
|
|
# bundle exec rubocop -c .rubocop_styleguide.yml
|
|
#
|
|
- .rubocop_styleguide.yml
|
|
- .rubocop_rspec_styleguide.yml
|