mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-30 21:27:17 +00:00
The rails cops used to be in the rubocop gem itself but moved into their own gem recently. Our style guide refers to these cops though.
22 lines
706 B
YAML
22 lines
706 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-rails
|
|
inherit_from:
|
|
|
|
# The automatically generated todo list to ignore all current violations.
|
|
- .rubocop_todo.yml
|
|
|
|
# Our Open Food Network style guide. It's used by Code Climate. If you want to see all violations,
|
|
# then use only that configuration (like Code Climate):
|
|
#
|
|
# bundle exec rubocop -c .rubocop_styleguide.yml
|
|
#
|
|
- .rubocop_styleguide.yml
|
|
|
|
# A manually compiled todo list to ignore metrics violations on a file-by-file basis.
|
|
- .rubocop_manual_todo.yml
|