forked from paper-trail-gem/paper_trail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop_todo.yml
57 lines (51 loc) · 1.74 KB
/
.rubocop_todo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2021-06-18 11:38:36 UTC using RuboCop version 1.17.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 56
# Cop supports --auto-correct.
Rails/ApplicationRecord:
Enabled: false
# Offense count: 1
# Cop supports --auto-correct.
Rails/NegateInclude:
Exclude:
- 'lib/paper_trail/events/base.rb'
# Offense count: 1
# Cop supports --auto-correct.
Rails/Presence:
Exclude:
- 'lib/paper_trail/reifier.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: Include.
# Include: **/Rakefile, **/*.rake
Rails/RakeEnvironment:
Exclude:
- 'Rakefile'
# Offense count: 4
# Cop supports --auto-correct.
Rails/RedundantForeignKey:
Exclude:
- 'spec/dummy_app/app/models/family/family.rb'
- 'spec/dummy_app/app/models/family/family_line.rb'
- 'spec/dummy_app/app/models/person.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.
# Offense count: 13
# Cop supports --auto-correct.
Security/YAMLLoad:
Exclude:
- 'lib/paper_trail/serializers/yaml.rb'
- 'spec/models/book_spec.rb'
- 'spec/models/gadget_spec.rb'
- 'spec/models/no_object_spec.rb'
- 'spec/models/person_spec.rb'
- 'spec/models/version_spec.rb'
- 'spec/paper_trail/events/destroy_spec.rb'
- 'spec/paper_trail/model_spec.rb'
- 'spec/paper_trail/serializer_spec.rb'