forked from ruby-rdf/json-ld
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
49 lines (44 loc) · 1.33 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
---
require:
- rubocop-performance
AllCops:
DisplayCopNames: true
NewCops: enable
TargetRubyVersion: 2.6
Layout/ArgumentAlignment:
# https://www.rubydoc.info/github/bbatsov/RuboCop/RuboCop/Cop/Layout/ArgumentAlignment
EnforcedStyle: with_fixed_indentation
Layout/CaseIndentation:
EnforcedStyle: end
Layout/EndAlignment:
# https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Layout/EndAlignment
EnforcedStyleAlignWith: variable
Layout/FirstArgumentIndentation:
# https://www.rubydoc.info/github/bbatsov/RuboCop/RuboCop/Cop/Layout/FirstArgumentIndentation
Enabled: false
Layout/HashAlignment:
EnforcedLastArgumentHashStyle: ignore_implicit
Layout/LineLength:
Max: 120
Layout/MultilineMethodCallIndentation:
# https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Layout/MultilineMethodCallIndentation
EnforcedStyle: indented
Lint/AmbiguousBlockAssociation:
AllowedMethods: ['change']
Metrics/MethodLength:
CountComments: false # count full line comments?
Max: 20
Style/Documentation:
Enabled: false
Style/DoubleNegation:
Enabled: false
Style/FormatStringToken:
Enabled: false
Style/HashSyntax:
Enabled: false
Style/MutableConstant:
Enabled: false
Style/StringLiterals:
Enabled: false
Style/StringConcatenation:
Enabled: false