mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
This commit updates VM Pooler to fix any existing rubocop offenses and also fixes any offenses in the lib/vmpooler.rb file. This commit also regenerates the Todo file.
45 lines
818 B
YAML
45 lines
818 B
YAML
inherit_from: .rubocop_todo.yml
|
|
|
|
AllCops:
|
|
Include:
|
|
- 'lib/**/*.rb'
|
|
- 'vmpooler'
|
|
Exclude:
|
|
- 'lib/public/lib/**/*'
|
|
- 'scripts/**/*'
|
|
- 'spec/**/*'
|
|
- 'vendor/**/*'
|
|
|
|
Style/Documentation:
|
|
Enabled: false
|
|
|
|
# Line length is not useful
|
|
Metrics/LineLength:
|
|
Enabled: false
|
|
|
|
|
|
# Due to legacy codebase
|
|
# - Globals are used liberally
|
|
Style/GlobalVars:
|
|
Enabled: false
|
|
# - A lot of complexity
|
|
Metrics/AbcSize:
|
|
Enabled: false
|
|
Metrics/PerceivedComplexity:
|
|
Enabled: false
|
|
Metrics/CyclomaticComplexity:
|
|
Enabled: false
|
|
# - Long Methods, Classes, Blocks, and Modules
|
|
Metrics/MethodLength:
|
|
Enabled: false
|
|
Metrics/ClassLength:
|
|
Enabled: false
|
|
Metrics/BlockLength:
|
|
Enabled: false
|
|
Metrics/ModuleLength:
|
|
Enabled: false
|
|
|
|
|
|
# Either sytnax for regex is ok
|
|
Style/RegexpLiteral:
|
|
Enabled: false
|