forked from palkan/action_policy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
53 lines (41 loc) · 890 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
49
50
51
52
53
require:
- standard/cop/semantic_blocks
- rubocop-md
inherit_gem:
standard: config/base.yml
AllCops:
Exclude:
- 'bin/*'
- 'tmp/**/*'
- 'Gemfile'
- 'vendor/**/*'
- 'gemfiles/**/*'
DisplayCopNames: true
TargetRubyVersion: 2.4
Standard/SemanticBlocks:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: true
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: no_comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: no_comma
Layout/AlignParameters:
EnforcedStyle: with_first_parameter
Lint/Void:
Exclude:
- '**/*.md'
# See https://github.com/rubocop-hq/rubocop/issues/4222
Lint/AmbiguousBlockAssociation:
Exclude:
- 'spec/**/*'
- '**/*.md'
Lint/DuplicateMethods:
Exclude:
- '**/*.md'
Naming/FileName:
Exclude:
- '**/*.md'
Layout/InitialIndentation:
Exclude:
- 'CHANGELOG.md'