paper-trail-gem--paper_trail/.rubocop_todo.yml

37 lines
1.1 KiB
YAML
Raw Normal View History

require: rubocop-rspec
2016-02-15 23:13:45 +00:00
# Remove these configuration records
# one by one as the offenses are removed from the code base.
Metrics/AbcSize:
Max: 22 # Goal: 15
Metrics/CyclomaticComplexity:
2016-06-27 07:02:33 +00:00
Max: 8 # Goal: 6
Metrics/PerceivedComplexity:
Max: 9 # Goal: 7
2017-10-27 15:54:34 +00:00
# Switching to frozen strings internally would be fine, but if any of those
# frozen strings cross our public API, that would be a breaking change.
# Let's wait until we drop support for ruby 2.2 before doing this. If we freeze
# before dropping 2.2, the comment could be misleading.
Style/FrozenStringLiteralComment:
Enabled: false
RSpec/InstanceVariable:
Exclude:
- spec/paper_trail/associations_spec.rb
- spec/paper_trail/model_spec.rb
RSpec/NestedGroups:
Exclude:
- spec/paper_trail/associations_spec.rb
- spec/paper_trail/model_spec.rb
2017-10-27 15:54:34 +00: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-04-01 01:42:14 +00:00
Security/YAMLLoad:
Enabled: false