This repository has been archived by the owner on Jun 27, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
78 lines (66 loc) · 1.52 KB
/
.rubocop.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
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: empty_lines, no_empty_lines
Layout/EmptyLinesAroundBlockBody:
Exclude:
- 'db/schema.rb'
Style/Documentation:
Exclude:
- 'config/**/*'
- 'db/migrate/*'
# Cop supports --auto-correct.
Style/ExpandPathArguments:
Exclude:
- 'bin/bundle'
- 'bin/rails'
- 'bin/rake'
- 'bin/setup'
- 'bin/update'
- 'spec/rails_helper.rb'
Style/MixinUsage:
Exclude:
- bin/**/*
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiterals:
Exclude:
- 'db/schema.rb'
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Max: 120
Exclude:
- 'db/schema.rb'
- spec/rails_helper.rb
- 'spec/factories/*'
- app/graphql/mutations/accomplishments/mutation_manifest.rb
Style/FrozenStringLiteralComment:
Enabled: false
Exclude:
- 'db/**/*'
Metrics/BlockLength:
Exclude:
- 'db/schema.rb'
- spec/**/*
- lib/tasks/**/*
- Guardfile
Style/NumericLiterals:
Exclude:
- db/schema.rb
- db/seeds.rb
Style/StderrPuts:
Exclude:
- bin/yarn
Metrics/MethodLength:
Exclude:
- app/controllers/graphql_controller.rb
- spec/**/*
- 'db/**/*'
Style/Documentation:
Enabled: false
Metrics/AbcSize:
Exclude:
- app/controllers/graphql_controller.rb
- spec/**/*
- 'db/**/*'