1
0
Fork 0
mirror of https://github.com/paper-trail-gem/paper_trail.git synced 2022-11-09 11:33:19 -05:00
paper-trail-gem--paper_trail/.rubocop_todo.yml
2017-11-30 22:17:42 -05:00

39 lines
1 KiB
YAML

require: rubocop-rspec
# Remove these configuration records
# one by one as the offenses are removed from the code base.
Metrics/AbcSize:
Max: 22 # Goal: 15
Metrics/CyclomaticComplexity:
Max: 8 # Goal: 6
Metrics/PerceivedComplexity:
Max: 9 # Goal: 7
# 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.
Style/FrozenStringLiteralComment:
Enabled: false
RSpec/ExpectInHook:
Exclude:
- spec/paper_trail/associations_spec.rb
- spec/models/version_spec.rb
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
# 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.
Security/YAMLLoad:
Enabled: false