Add rubocop config to allow specs to be 300 lines long

This commit is contained in:
Luis Ramos
2020-10-26 16:50:49 +00:00
parent 0f5aa11f05
commit 0b51d8b297
6 changed files with 17 additions and 0 deletions

7
.rubocop_specs.yml Normal file
View 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

View File

@@ -0,0 +1,2 @@
inherit_from:
- ../.rubocop_specs.yml

View File

@@ -0,0 +1,2 @@
inherit_from:
- ../.rubocop_specs.yml

View File

@@ -0,0 +1,2 @@
inherit_from:
- ../.rubocop_specs.yml

View File

@@ -0,0 +1,2 @@
inherit_from:
- ../.rubocop_specs.yml

2
spec/.rubocop.yml Normal file
View File

@@ -0,0 +1,2 @@
inherit_from:
- ../.rubocop_specs.yml