forked from bitaculous/mongoid-cleaner
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.rubocop.yml
41 lines (29 loc) · 1.02 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
# This is the configuration used to check the `Mongoid::Cleaner` source code.
# === Custom Cops ===
require: rubocop-rspec
# === Configuration ===
# --- Linting ---
Lint/UnusedBlockArgument:
Description: 'Checks for unused block arguments.'
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars'
Enabled: false
# --- Metrics ---
Metrics/LineLength:
Description: 'Limit lines to 120 characters with 10 characters as buffer.'
Max: 130
# --- Style ---
Style/AsciiComments:
Description: 'Use only ASCII symbols in comments.'
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#english-comments'
Enabled: false
Style/CommentIndentation:
Description: 'Indentation of comments.'
Enabled: false
Style/ExtraSpacing:
Description: 'This cop checks for extra/unnecessary whitespaces.'
Exclude:
- Guardfile
Style/TrailingBlankLines:
Description: 'Checks trailing blank lines and final newline.'
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#newline-eof'
Enabled: false