-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
49 lines (40 loc) · 1.63 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
# This configuration was generated by
# `rubocop --auto-gen-config --no-offense-counts --no-auto-gen-timestamp`
# using RuboCop version 1.35.1.
# 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: AllowComments, AllowEmptyLambdas.
Lint/EmptyBlock:
Exclude:
- 'config/routes.rb'
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 157
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 177
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
Metrics/MethodLength:
Max: 38
# Configuration parameters: MinSize.
Performance/CollectionLiteralInLoop:
Exclude:
- 'lib/tasks/manifest.rake'
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
Max: 8
RSpec/MultipleExpectations:
Max: 4
# Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
Style/GuardClause:
Exclude:
- 'spec/dummy/db/migrate/20160712061347_add_blog_id_to_redirects.publify_core_engine.rb'
- 'spec/dummy/db/migrate/20160712061348_add_blog_id_to_tags.publify_core_engine.rb'
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: implicit, explicit
Style/RescueStandardError:
Exclude:
- 'spec/dummy/db/migrate/20160712061346_add_blog_ids.publify_core_engine.rb'