forked from paper-trail-gem/paper_trail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
48 lines (36 loc) · 1.13 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
require: rubocop-rspec
# Remove these configuration records
# one by one as the offenses are removed from the code base.
Layout/ArgumentAlignment:
Enabled: false
Metrics/AbcSize:
Max: 20 # Goal: 15
Metrics/CyclomaticComplexity:
Max: 7 # Goal: 6
Metrics/PerceivedComplexity:
Max: 9 # Goal: 7
Naming/MemoizedInstanceVariableName:
Enabled: false
RSpec/ContextWording:
Enabled: false
RSpec/HooksBeforeExamples:
Exclude:
- spec/controllers/articles_controller_spec.rb
- spec/models/version_spec.rb
- spec/paper_trail/config_spec.rb
- spec/paper_trail/request_spec.rb
- spec/paper_trail_spec.rb
RSpec/NestedGroups:
Exclude:
- 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
# We want this, but not until we drop support for ruby 2.4
Style/HashTransformKeys:
Enabled: false
# We want this, but not until we drop support for ruby 2.4
Style/HashTransformValues:
Enabled: false