rubocop: annotate exceptions
This commit is contained in:
parent
b1826a1abc
commit
e0d5b461b3
2 changed files with 2 additions and 2 deletions
|
|
@ -96,8 +96,6 @@ Metrics/BlockNesting:
|
||||||
|
|
||||||
Metrics/ClassLength:
|
Metrics/ClassLength:
|
||||||
Max: 575
|
Max: 575
|
||||||
Exclude:
|
|
||||||
- 'app/models/conference.rb'
|
|
||||||
|
|
||||||
# avoid redundunt curly braces when it is obvious that hash is used
|
# avoid redundunt curly braces when it is obvious that hash is used
|
||||||
Style/BracesAroundHashParameters:
|
Style/BracesAroundHashParameters:
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
# rubocop:disable Metrics/ClassLength
|
||||||
##
|
##
|
||||||
# This class represents a conference
|
# This class represents a conference
|
||||||
class Conference < ActiveRecord::Base
|
class Conference < ActiveRecord::Base
|
||||||
|
|
@ -1063,3 +1064,4 @@ class Conference < ActiveRecord::Base
|
||||||
result
|
result
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
# rubocop:enable Metrics/ClassLength
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue