Projet

Général

Profil

Révision 8f5d09ec

ID8f5d09ec34c86d1f7c1514c058c576c2e6dd3585
Parent 9ae64df9
Enfant 2e704fc9

Ajouté par tr il y a plus de 4 ans

Linting

Voir les différences:

.rubocop.yml
11 11
  - "**/Gemfile"
12 12
  - "**/Rakefile"
13 13
  - pkg/**/*
14
  - spec/classes/*_spec.rb
14 15
  - spec/fixtures/**/*
15 16
  - vendor/**/*
16 17
  - "**/Puppetfile"
......
24 25
    A necessary evil in acceptance testing.
25 26
  Exclude:
26 27
  - spec/acceptance/**/*.rb
27
Layout/MultilineBlockLayout:
28
  Exclude:
29
  - spec/classes/*_spec.rb
30
Style/HashSyntax:
31
  Exclude:
32
  - spec/classes/*_spec.rb
33
Layout/BlockEndNewline:
34
  Exclude:
35
  - spec/classes/*_spec.rb
36 28
RSpec/HookArgument:
37 29
  Description: Prefer explicit :each argument, matching existing module's style
38 30
  EnforcedStyle: each
......
59 51
Style/RegexpLiteral:
60 52
  Description: Community preference. See https://github.com/voxpupuli/modulesync_config/issues/168
61 53
  EnforcedStyle: percent_r
62
  Exclude:
63
  - spec/classes/*_spec.rb
64 54
Style/TernaryParentheses:
65 55
  Description: Checks for use of parentheses around ternary conditions. Enforce parentheses
66 56
    on complex expressions for better readability, but seriously consider breaking

Formats disponibles : Unified diff