Skip to content

Commit

Permalink
Fix views and remove any check on block length
Browse files Browse the repository at this point in the history
  • Loading branch information
martaribeiro committed Oct 6, 2021
1 parent 3922375 commit 348414e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,18 @@ Metrics/ClassLength:
Metrics/MethodLength:
Max: 20

# mnicholson Oct. 6th 2021
# Default lenght for block is 25 lines, which it would be very restrictive for
# the Rspec views methods. So I'll just exclude some files.
Metrics/BlockLength:
Exclude:
- 'lib/tasks/*.rake'
- 'lib/tasks/utils/*.rake'
- 'spec/**/*'

IgnoredMethods: ['describe', 'context', 'task', 'namespace']


# ------------
# - SECURITY -
# ------------
Expand Down

0 comments on commit 348414e

Please sign in to comment.