-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
55 lines (55 loc) · 1.14 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
AllCops:
Exclude:
- 'bin/setup'
- 'bin/**'
- 'bin/*.rb'
- 'config/**'
- 'config/**/*.rb'
- 'db/migrate/*.rb'
- 'db/schema.rb'
- 'test/**/*.rb'
- 'spec/rails_helper.rb'
- 'spec/spec_helper.rb'
- '**/Gemfile'
- '**/Rakefile'
- 'config.ru'
Layout/ExtraSpacing:
Exclude:
- 'config/routes.rb'
Layout/LineLength:
# To be enabled for refactoring
Enabled: false
Exclude:
- 'app/models/user.rb'
- 'spec/**/*.rb'
Layout/TrailingEmptyLines:
Enabled: false
Lint/AmbiguousBlockAssociation:
Exclude:
- 'spec/**/*.rb'
Lint/MissingSuper:
Enabled: false
Metrics/AbcSize:
# To be enabled for refactoring
Enabled: false
Metrics/BlockLength:
Exclude:
- 'spec/**/*.rb'
Metrics/MethodLength:
# To be enabled for refactoring
Enabled: false
Metrics/ModuleLength:
Exclude:
- 'app/helpers/application_helper.rb'
Style/Documentation:
# To be enabled when documentation is added
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
Style/SymbolArray:
# To be enabled for refactoring
Enabled: false
Exclude:
- 'config/routes.rb'