forked from Ruby-IF081/heroes_team_app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
48 lines (37 loc) · 771 Bytes
/
.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
Documentation:
Enabled: false
AllCops:
Exclude:
- 'log/capistrano.log'
- 'vendor/**/*'
- 'tmp/**/*'
- 'config/initializers/*'
- 'bin/*'
- 'db/**/*'
TargetRubyVersion: 2.3
Style/FrozenStringLiteralComment:
Enabled: false
EnforcedStyle: always
Style/BlockComments:
Description: 'Do not use block comments.'
StyleGuide: '#no-block-comments'
Enabled: false
Metrics/BlockLength:
Exclude:
- 'config/routes.rb'
- 'spec/**/*'
- 'config/environments/*'
Metrics/MethodLength:
Exclude:
- 'app/helpers/*'
Metrics/ClassLength:
Exclude:
- 'app/models/*'
Metrics/LineLength:
Max: 100
Style/StringLiterals:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Style/GuardClause:
Enabled: false