.rubocop.yml in warclight-0.3.0 vs .rubocop.yml in warclight-0.4.0
- old
+ new
@@ -15,10 +15,11 @@
Metrics/LineLength:
Max: 120
Exclude:
- 'Gemfile'
+ - 'spec/models/concerns/warclight/solr_document_spec.rb'
Metrics/ModuleLength:
Max: 120
Metrics/ClassLength:
@@ -32,24 +33,33 @@
- !ruby/regexp /\.rake$/
- 'warclight.gemspec'
- 'spec/**/*'
- 'lib/warclight/custom_document.rb'
+Metrics/AbcSize:
+ Exclude:
+ - 'app/models/concerns/warclight/solr_document.rb' #Come back to this later
+
Performance/RegexpMatch:
Enabled: false
Rails/OutputSafety:
Exclude:
- 'app/controllers/concerns/warclight/field_config_helpers.rb' # html_safe needs to be called to mimic BL JOIN behavior
+ - 'app/models/concerns/warclight/solr_document.rb'
RSpec/ExampleLength:
Enabled: false
RSpec/MultipleExpectations:
Enabled: false
RSpec/NestedGroups:
Max: 4
+
+Rails/TimeZone:
+ Exclude:
+ - 'app/models/concerns/warclight/solr_document.rb' #Come back to this later
Style/Documentation:
Exclude:
- 'spec/**/*'
- 'lib/warclight.rb'