2017-03-03 13:12:27 -05:00
|
|
|
require: rubocop-rspec
|
|
|
|
|
2016-02-15 18:13:45 -05:00
|
|
|
# Remove these configuration records
|
2015-11-27 21:16:37 -05:00
|
|
|
# one by one as the offenses are removed from the code base.
|
|
|
|
|
|
|
|
Metrics/AbcSize:
|
2016-12-13 22:41:09 -05:00
|
|
|
Max: 22 # Goal: 15
|
2015-11-27 21:16:37 -05:00
|
|
|
|
|
|
|
Metrics/CyclomaticComplexity:
|
2016-06-27 03:02:33 -04:00
|
|
|
Max: 8 # Goal: 6
|
2015-11-27 21:16:37 -05:00
|
|
|
|
|
|
|
Metrics/PerceivedComplexity:
|
2016-12-13 22:23:30 -05:00
|
|
|
Max: 9 # Goal: 7
|
2016-07-05 20:16:20 -04:00
|
|
|
|
2017-05-24 01:08:53 -04:00
|
|
|
RSpec/InstanceVariable:
|
|
|
|
Exclude:
|
|
|
|
- spec/paper_trail/associations_spec.rb
|
2017-05-25 01:45:31 -04:00
|
|
|
- spec/paper_trail/model_spec.rb
|
2017-05-24 01:08:53 -04:00
|
|
|
|
|
|
|
RSpec/NestedGroups:
|
|
|
|
Exclude:
|
|
|
|
- spec/paper_trail/associations_spec.rb
|
2017-05-25 01:45:31 -04:00
|
|
|
- spec/paper_trail/model_spec.rb
|
2017-05-24 01:08:53 -04:00
|
|
|
|
2017-10-27 11:54:34 -04:00
|
|
|
# It may be possible for us to use safe_load, but we'd have to pass the
|
|
|
|
# safelists, like `whitelist_classes` into our serializer, and the serializer
|
|
|
|
# interface is a public API, so that would be a breaking change.
|
2017-03-31 21:42:14 -04:00
|
|
|
Security/YAMLLoad:
|
|
|
|
Enabled: false
|