Skip to content

Commit 6a36847

Browse files
committed
Exclude metric/blocks length
1 parent 44be8ee commit 6a36847

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.rubocop.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
AllCops:
22
Exclude:
33
- vendor/**/*
4+
-Metrics/BlockLength:
5+
Enabled: false
46

57
inherit_from: .rubocop_todo.yml

.rubocop_todo.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2017-12-22 15:01:37 -0500 using RuboCop version 0.52.0.
3+
# on 2017-12-27 17:26:53 +0100 using RuboCop version 0.52.0.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
@@ -95,7 +95,7 @@ Style/RegexpLiteral:
9595
Exclude:
9696
- 'lib/mongoid_search.rb'
9797

98-
# Offense count: 55
98+
# Offense count: 58
9999
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
100100
# URISchemes: http, https
101101
Metrics/LineLength:

0 commit comments

Comments
 (0)