7 TargetRubyVersion: '2.1'
22 Description: People have wide screens, use them.
26 GetText/DecorateString:
27 Description: We don't want to decorate test output.
32 Description: Beware of using after(:all) as it may cause state to leak between tests.
33 A necessary evil in acceptance testing.
35 - spec/acceptance/**/*.rb
37 Description: Prefer explicit :each argument, matching existing module's style
39 Style/BlockDelimiters:
40 Description: Prefer braces for chaining. Mostly an aesthetical choice. Better to
42 EnforcedStyle: braces_for_chaining
43 Style/ClassAndModuleChildren:
44 Description: Compact style reduces the required amount of indentation.
45 EnforcedStyle: compact
47 Description: Enforce against empty else clauses, but allow `nil` for clarity.
50 Description: Following the main puppet project's style, prefer the % format format.
51 EnforcedStyle: percent
52 Style/FormatStringToken:
53 Description: Following the main puppet project's style, prefer the simpler template
54 tokens over annotated ones.
55 EnforcedStyle: template
57 Description: Prefer the keyword for easier discoverability.
58 EnforcedStyle: literal
60 Description: Community preference. See https://github.com/voxpupuli/modulesync_config/issues/168
61 EnforcedStyle: percent_r
62 Style/TernaryParentheses:
63 Description: Checks for use of parentheses around ternary conditions. Enforce parentheses
64 on complex expressions for better readability, but seriously consider breaking
66 EnforcedStyle: require_parentheses_when_complex
67 Style/TrailingCommaInArguments:
68 Description: Prefer always trailing comma on multiline argument lists. This makes
69 diffs, and re-ordering nicer.
70 EnforcedStyleForMultiline: comma
71 Style/TrailingCommaInLiteral:
72 Description: Prefer always trailing comma on multiline literals. This makes diffs,
73 and re-ordering nicer.
74 EnforcedStyleForMultiline: comma
76 Description: Using percent style obscures symbolic intent of array's contents.
77 EnforcedStyle: brackets
78 inherit_from: ".rubocop_todo.yml"
80 EnforcedStyle: receive
83 - lib/puppet/parser/functions/**/*
86 EnforcedStyle: brackets
87 Style/CollectionMethods:
89 Style/MethodCalledOnDoEndBlock:
93 GetText/DecorateFunctionMessage:
95 GetText/DecorateStringFormattingUsingInterpolation:
97 GetText/DecorateStringFormattingUsingPercent:
101 Layout/IndentHeredoc:
109 Metrics/CyclomaticComplexity:
111 Metrics/MethodLength:
113 Metrics/ModuleLength:
115 Metrics/ParameterLists:
117 Metrics/PerceivedComplexity:
123 RSpec/MessageExpectation:
125 RSpec/MultipleExpectations:
131 Style/IfUnlessModifier: