forked from impactoss/impactoss-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
40 lines (34 loc) · 836 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
---
# We do not typically use/need class documentation
Documentation:
Enabled: false
# Run rails specific checks
# https://github.com/bbatsov/rubocop#rails
Rails:
Enabled: true
AllCops:
TargetRubyVersion: 2.3
Include:
# Include important files that don't end in .rb
- '**/Rakefile'
- '**/config.ru'
Exclude:
# exclude files in /vendor because some CI systems put gems in here e.g.
# TravisCI
- 'vendor/**/*'
# exclude the autogenerated schema file as we don't have any control over
# its format
- 'db/**'
- 'bin/**/*'
- 'vendor/**/*'
# StringLiterals:
# EnforcedStyle: double_quotes
Metrics/LineLength:
Max: 120
Style/FileName:
Exclude:
- 'Gemfile'
- 'Gemfile.lock'
- 'config/initializers/devise-sample.rb'
Style/FrozenStringLiteralComment:
Enabled: false