forked from CDLUC3/datacite-mapping
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
40 lines (31 loc) · 1.04 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
# Disable line-length check; it's too easy for the cure to be worse than the disease
Metrics/LineLength:
Enabled: False
# Disable problematic module documentation check (see https://github.com/bbatsov/rubocop/issues/947)
Style/Documentation:
Enabled: false
# Allow one line around class body (Layout/EmptyLines will still disallow two or more)
Layout/EmptyLinesAroundClassBody:
Enabled: false
# Allow one line around module body (Layout/EmptyLines will still disallow two or more)
Layout/EmptyLinesAroundModuleBody:
Enabled: false
# Allow one line around block body (Layout/EmptyLines will still disallow two or more)
Layout/EmptyLinesAroundBlockBody:
Enabled: false
# Allow leading underscores for 'internal' accessors
Lint/UnderscorePrefixedVariableName:
Enabled: false
# Seriously?
Style/CommentedKeyword:
Enabled: false
# Use DateTime to preserve compatibility
Style/DateTime:
Enabled: false
# Disable some checks in sample code
Style/ClassAndModuleChildren:
Exclude:
- 'examples/*'
Style/MixinUsage:
Exclude:
- 'examples/*'