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'
|
||||
Enabled: false
|
||||
|
||||
Style/ClassAndModuleChildren:
|
||||
Description: 'Checks style of children classes and modules.'
|
||||
Enabled: false
|
||||
|
||||
# 2.0
|
||||
|
||||
Metrics/PerceivedComplexity:
|
||||
Description: >-
|
||||
A complexity metric geared towards measuring complexity for a
|
||||
human reader.
|
||||
Enabled: false
|
||||
|
||||
Style/ClassAndModuleChildren:
|
||||
Description: 'Checks style of children classes and modules.'
|
||||
Metrics/AbcSize:
|
||||
Description: >-
|
||||
A calculated magnitude based on number of assignments,
|
||||
branches, and conditions.
|
||||
Enabled: false
|
||||
|
||||
# TODO
|
||||
|
@ -173,12 +181,6 @@ Style/Documentation:
|
|||
Description: 'Document classes and non-namespace modules.'
|
||||
Enabled: false
|
||||
|
||||
Metrics/AbcSize:
|
||||
Description: >-
|
||||
A calculated magnitude based on number of assignments,
|
||||
branches, and conditions.
|
||||
Enabled: false
|
||||
|
||||
Style/RedundantSelf:
|
||||
Enabled: false
|
||||
Style/CommentIndentation:
|
||||
|
|
Loading…
Reference in a new issue