mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
(maint) Add additional rubocop exceptions
This commit adds the following exceptions: - Style/EmptyMethod Methods which are empty are typically supposed to not spread over two lines however this is a matter of readability and should not be considered a violation - Metrics/BlockNesting Due to a legacy codebase there are instances where the block depth is quite high. Ignore these violations for the time being.
This commit is contained in:
parent
06100ddea6
commit
885d8d2b1c
1 changed files with 5 additions and 0 deletions
|
|
@ -17,6 +17,9 @@ Style/Documentation:
|
||||||
Metrics/LineLength:
|
Metrics/LineLength:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
|
# Empty method definitions over more than one line is ok
|
||||||
|
Style/EmptyMethod:
|
||||||
|
Enabled: false
|
||||||
|
|
||||||
# Due to legacy codebase
|
# Due to legacy codebase
|
||||||
# - Globals are used liberally
|
# - Globals are used liberally
|
||||||
|
|
@ -29,6 +32,8 @@ Metrics/PerceivedComplexity:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
Metrics/CyclomaticComplexity:
|
Metrics/CyclomaticComplexity:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
Metrics/BlockNesting:
|
||||||
|
Enabled: false
|
||||||
# - Long Methods, Classes, Blocks, and Modules
|
# - Long Methods, Classes, Blocks, and Modules
|
||||||
Metrics/MethodLength:
|
Metrics/MethodLength:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue