mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
Since it is a file copied from Rails 4, we want to keep it in its original state and not refactor it.
37 lines
685 B
YAML
37 lines
685 B
YAML
version: "2"
|
|
plugins:
|
|
rubocop:
|
|
enabled: true
|
|
channel: "rubocop-0-48"
|
|
scss-lint:
|
|
enabled: false
|
|
duplication:
|
|
enabled: true
|
|
exclude_patterns:
|
|
- "db/**"
|
|
- "config/initializers/active_record_postgresql_referential_integrity_patch.rb"
|
|
checks:
|
|
argument-count:
|
|
enabled: false
|
|
complex-logic:
|
|
enabled: true
|
|
file-lines:
|
|
enabled: false
|
|
method-complexity:
|
|
enabled: false
|
|
method-count:
|
|
enabled: false
|
|
method-lines:
|
|
enabled: false
|
|
nested-control-flow:
|
|
enabled: true
|
|
return-statements:
|
|
enabled: true
|
|
similar-code:
|
|
enabled: true
|
|
identical-code:
|
|
enabled: true
|
|
exclude_patterns:
|
|
- "spec/**/*"
|
|
- "vendor/**/*"
|