mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-11 18:26:50 +00:00
There were a few changes needed: * Plugins are now specified through `plugin:` config keyword. * All plugin gems need to be specified explicitly in Gemfile since they are no longer dependencies of plugins already specified explicitly. * All plugin gems need to be updated in other to use the new APIs. * One cop was renamed. * New offenses safe to correct were corrected directly with `bundle exec rubocop -a`. * New offenses unsafe to correct were added to the TODO configuration with `bundle exec rubocop --auto-gen-config --auto-gen-only-exclude --exclude-limit 1400 --no-auto-gen-timestamp`.
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.
|
|
#
|
|
plugins:
|
|
- 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
|