forked from rodjek/puppet-lint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
74 lines (71 loc) · 1.7 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
---
inherit_from: './.rubocop_todo.yml'
AllCops:
TargetRubyVersion: 1.9
Style/HashSyntax:
EnforcedStyle: hash_rockets
Layout/FirstArrayElementLineBreak:
Enabled: true
Layout/FirstHashElementLineBreak:
Enabled: true
Layout/FirstMethodArgumentLineBreak:
Enabled: true
Layout/FirstMethodParameterLineBreak:
Enabled: true
Layout/IndentArray:
EnforcedStyle: consistent
Layout/MultilineArrayBraceLayout:
EnforcedStyle: new_line
Layout/MultilineAssignmentLayout:
Enabled: true
EnforcedStyle: same_line
Layout/MultilineHashBraceLayout:
EnforcedStyle: new_line
Layout/MultilineMethodDefinitionBraceLayout:
EnforcedStyle: new_line
Style/AutoResourceCleanup:
Enabled: true
Style/BlockDelimiters:
EnforcedStyle: braces_for_chaining
Style/BracesAroundHashParameters:
EnforcedStyle: context_dependent
Style/Encoding:
Enabled: false
Style/MethodCallWithArgsParentheses:
Enabled: true
IgnoreMacros: true
IgnoredMethods:
- puts
- require
- include
- it
- context
- describe
- to
- to_not
- raise
- desc
- task
- exit
- should
- gem
- group
- attr_reader
- attr_accessor
- attr_writer
- source
Style/MethodCalledOnDoEndBlock:
Enabled: true
Style/RegexpLiteral:
EnforcedStyle: percent_r
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: no_comma
Style/TrailingCommaInLiteral:
EnforcedStyleForMultiline: comma
Style/FormatStringToken:
Enabled: false
Style/FileName:
Exclude:
- 'lib/puppet-lint.rb'
- 'lib/puppet-lint/tasks/puppet-lint.rb'
- 'spec/puppet-lint_spec.rb'