mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-15 23:57:48 +00:00
Add rubocop config to allow specs to be 300 lines long
This commit is contained in:
7
.rubocop_specs.yml
Normal file
7
.rubocop_specs.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
inherit_from:
|
||||
- .rubocop.yml
|
||||
|
||||
# This rubocop config file is only used for specs
|
||||
# Here we allow specs to be 300 lines long
|
||||
Metrics/ModuleLength:
|
||||
Max: 300
|
||||
2
engines/catalog/spec/.rubocop.yml
Normal file
2
engines/catalog/spec/.rubocop.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
inherit_from:
|
||||
- ../.rubocop_specs.yml
|
||||
2
engines/dfc_provider/spec/.rubocop.yml
Normal file
2
engines/dfc_provider/spec/.rubocop.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
inherit_from:
|
||||
- ../.rubocop_specs.yml
|
||||
2
engines/order_management/spec/.rubocop.yml
Normal file
2
engines/order_management/spec/.rubocop.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
inherit_from:
|
||||
- ../.rubocop_specs.yml
|
||||
2
engines/web/spec/.rubocop.yml
Normal file
2
engines/web/spec/.rubocop.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
inherit_from:
|
||||
- ../.rubocop_specs.yml
|
||||
2
spec/.rubocop.yml
Normal file
2
spec/.rubocop.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
inherit_from:
|
||||
- ../.rubocop_specs.yml
|
||||
Reference in New Issue
Block a user