forked from publify/publify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop_todo.yml
97 lines (80 loc) · 3 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# This configuration was generated by
# `rubocop --auto-gen-config --no-offense-counts --no-auto-gen-timestamp`
# using RuboCop version 1.14.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.
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 157
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 177
# Configuration parameters: IgnoredMethods.
Metrics/CyclomaticComplexity:
Max: 19
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
Metrics/MethodLength:
Max: 48
# Configuration parameters: IgnoredMethods.
Metrics/PerceivedComplexity:
Max: 22
# Configuration parameters: Prefixes.
# Prefixes: when, with, without
RSpec/ContextWording:
Exclude:
- 'spec/views/xml_sidebar/_content.html.erb_spec.rb'
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
Max: 14
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
# Include: **/*_spec*rb*, **/spec/**/*
RSpec/FilePath:
Exclude:
- 'spec/lib/publify_avatar_gravatar_spec.rb'
# Configuration parameters: AssignmentOnly.
RSpec/InstanceVariable:
Exclude:
- 'spec/controllers/tags_controller_spec.rb'
- 'spec/controllers/xml_controller_spec.rb'
- 'spec/views/comments/html_sanitization_spec.rb'
- 'spec/views/layouts/default_spec.rb'
- 'spec/views/xml_sidebar/_content.html.erb_spec.rb'
RSpec/LetSetup:
Exclude:
- 'spec/controllers/articles_controller_spec.rb'
- 'spec/controllers/feedback_controller_spec.rb'
RSpec/MultipleExpectations:
Max: 10
RSpec/NestedGroups:
Max: 5
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
RSpec/VerifiedDoubles:
Exclude:
- 'spec/lib/publify_textfilter_flickr_spec.rb'
- 'spec/lib/publify_textfilter_lightbox_spec.rb'
# Configuration parameters: Include.
# Include: db/migrate/*.rb
Rails/CreateTableWithTimestamps:
Exclude:
- 'db/migrate/113_initial_schema.publify_core_engine.rb'
- 'db/migrate/20150807134129_simplify_redirect_relations.publify_core_engine.rb'
- 'db/migrate/20160110094906_remove_profiles_rights.publify_core_engine.rb'
- 'db/migrate/20160605154632_remove_profiles.publify_core_engine.rb'
- 'db/migrate/20190210121317_remove_text_filters.publify_core_engine.rb'
Security/Eval:
Exclude:
- 'Gemfile'
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Exclude:
- 'db/migrate/20150808191127_add_blog_id_to_redirects.publify_core_engine.rb'
- 'db/migrate/20150810094754_add_blog_id_to_tags.publify_core_engine.rb'
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: implicit, explicit
Style/RescueStandardError:
Exclude:
- 'db/migrate/20150808052637_add_blog_ids.publify_core_engine.rb'
- 'lib/publify_textfilter_flickr.rb'