diff --git a/.rubocop.yml b/.rubocop.yml index b7c4b92e..7da4d8d5 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -96,8 +96,6 @@ Metrics/BlockNesting: Metrics/ClassLength: Max: 575 - Exclude: - - 'app/models/conference.rb' # avoid redundunt curly braces when it is obvious that hash is used Style/BracesAroundHashParameters: diff --git a/app/models/conference.rb b/app/models/conference.rb index 801ea040..31c61d73 100644 --- a/app/models/conference.rb +++ b/app/models/conference.rb @@ -1,3 +1,4 @@ +# rubocop:disable Metrics/ClassLength ## # This class represents a conference class Conference < ActiveRecord::Base @@ -1063,3 +1064,4 @@ class Conference < ActiveRecord::Base result end end +# rubocop:enable Metrics/ClassLength