-
Notifications
You must be signed in to change notification settings - Fork 1
/
.rubocop_todo.yml
56 lines (46 loc) · 1.86 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
# 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: 22
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
# Include: **/*_spec*rb*, **/spec/**/*
RSpec/FilePath:
Exclude:
- 'spec/lib/publify_app/textfilter_code_spec.rb'
RSpec/NestedGroups:
Max: 5
# Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
Style/GuardClause:
Exclude:
- 'spec/dummy/db/migrate/20160716093731_add_blog_id_to_redirects.publify_core_engine.rb'
- 'spec/dummy/db/migrate/20160716093732_add_blog_id_to_tags.publify_core_engine.rb'
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: implicit, explicit
Style/RescueStandardError:
Exclude:
- 'lib/publify_app/textfilter_code.rb'
- 'spec/dummy/db/migrate/20160716093730_add_blog_ids.publify_core_engine.rb'