Updates rubocop config
This commit is contained in:
16
.rubocop.yml
16
.rubocop.yml
@@ -4,16 +4,8 @@ AllCops:
|
|||||||
Exclude:
|
Exclude:
|
||||||
- '*.gemspec'
|
- '*.gemspec'
|
||||||
- 'vendor/**/*'
|
- 'vendor/**/*'
|
||||||
ClassVars:
|
|
||||||
Enabled: false
|
|
||||||
LineLength:
|
|
||||||
Max: 120
|
|
||||||
Lint/UriEscapeUnescape:
|
Lint/UriEscapeUnescape:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
MethodLength:
|
|
||||||
Max: 20
|
|
||||||
Exclude:
|
|
||||||
- 'app/controllers/enumeration/cli_options.rb'
|
|
||||||
Metrics/AbcSize:
|
Metrics/AbcSize:
|
||||||
Max: 25
|
Max: 25
|
||||||
Metrics/BlockLength:
|
Metrics/BlockLength:
|
||||||
@@ -25,6 +17,14 @@ Metrics/ClassLength:
|
|||||||
- 'app/controllers/enumeration/cli_options.rb'
|
- 'app/controllers/enumeration/cli_options.rb'
|
||||||
Metrics/CyclomaticComplexity:
|
Metrics/CyclomaticComplexity:
|
||||||
Max: 8
|
Max: 8
|
||||||
|
Metrics/LineLength:
|
||||||
|
Max: 120
|
||||||
|
Metrics/MethodLength:
|
||||||
|
Max: 20
|
||||||
|
Exclude:
|
||||||
|
- 'app/controllers/enumeration/cli_options.rb'
|
||||||
|
Style/ClassVars:
|
||||||
|
Enabled: false
|
||||||
Style/Documentation:
|
Style/Documentation:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
Style/FormatStringToken:
|
Style/FormatStringToken:
|
||||||
|
|||||||
Reference in New Issue
Block a user