Added Metrics/PerceivedComplexity and Metrics/AbcSize as log term targets.
This commit is contained in:
parent
c2af4fdd30
commit
b6d9c2f566
1 changed files with 10 additions and 8 deletions
18
.rubocop.yml
18
.rubocop.yml
|
@ -150,14 +150,22 @@ Rails/HasAndBelongsToMany:
|
||||||
# StyleGuide: 'https://github.com/bbatsov/rails-style-guide#has-many-through'
|
# StyleGuide: 'https://github.com/bbatsov/rails-style-guide#has-many-through'
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
|
Style/ClassAndModuleChildren:
|
||||||
|
Description: 'Checks style of children classes and modules.'
|
||||||
|
Enabled: false
|
||||||
|
|
||||||
|
# 2.0
|
||||||
|
|
||||||
Metrics/PerceivedComplexity:
|
Metrics/PerceivedComplexity:
|
||||||
Description: >-
|
Description: >-
|
||||||
A complexity metric geared towards measuring complexity for a
|
A complexity metric geared towards measuring complexity for a
|
||||||
human reader.
|
human reader.
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
Style/ClassAndModuleChildren:
|
Metrics/AbcSize:
|
||||||
Description: 'Checks style of children classes and modules.'
|
Description: >-
|
||||||
|
A calculated magnitude based on number of assignments,
|
||||||
|
branches, and conditions.
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
|
@ -173,12 +181,6 @@ Style/Documentation:
|
||||||
Description: 'Document classes and non-namespace modules.'
|
Description: 'Document classes and non-namespace modules.'
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
Metrics/AbcSize:
|
|
||||||
Description: >-
|
|
||||||
A calculated magnitude based on number of assignments,
|
|
||||||
branches, and conditions.
|
|
||||||
Enabled: false
|
|
||||||
|
|
||||||
Style/RedundantSelf:
|
Style/RedundantSelf:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
Style/CommentIndentation:
|
Style/CommentIndentation:
|
||||||
|
|
Loading…
Reference in a new issue