Skip to content

Extend puppet-lint to legacy_check yaml files #1027

Extend puppet-lint to legacy_check yaml files

Extend puppet-lint to legacy_check yaml files #1027

Triggered via pull request February 18, 2025 17:18
Status Failure
Total duration 51s
Artifacts

ci.yml

on: pull_request
Matrix: spec
Matrix: acceptance
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

30 errors
spec (ruby 3.2) / spec: lib/puppet-lint/bin.rb#L69
Layout/IndentationWidth: Use 2 (not -5) spaces for indentation. (https://rubystyle.guide#spaces-indentation)
spec (ruby 3.2) / spec: lib/puppet-lint/bin.rb#L70
Layout/FirstArrayElementIndentation: Use 2 spaces for indentation in an array, relative to the first position after the preceding left parenthesis.
spec (ruby 3.2) / spec: lib/puppet-lint/bin.rb#L71
Style/TrailingCommaInArrayLiteral: Put a comma after the last item of a multiline array. (https://rubystyle.guide#no-trailing-array-commas)
spec (ruby 3.2) / spec: lib/puppet-lint/bin.rb#L72
Layout/FirstArrayElementIndentation: Indent the right bracket the same as the first position after the preceding left parenthesis.
spec (ruby 3.2) / spec: lib/puppet-lint/bin.rb#L73
Layout/ElseAlignment: Align `else` with `if`.
spec (ruby 3.2) / spec: lib/puppet-lint/bin.rb#L75
Layout/EndAlignment: `end` at 75, 6 is not aligned with `if` at 68, 13.
spec (ruby 3.2) / spec: lib/puppet-lint/checks.rb#L60
Style/RegexpLiteral: Use `%r` around regular expression. (https://rubystyle.guide#percent-r)
spec (ruby 3.2) / spec: lib/puppet-lint/plugins/legacy_facts/legacy_facts.rb#L117
Style/RegexpLiteral: Use `%r` around regular expression. (https://rubystyle.guide#percent-r)
spec (ruby 3.2) / spec: lib/puppet-lint/plugins/legacy_facts/legacy_facts.rb#L123
Lint/UselessRescue: Useless `rescue` detected.
spec (ruby 3.2) / spec: lib/puppet-lint/plugins/legacy_facts/legacy_facts.rb#L123
Style/RescueStandardError: Avoid rescuing without specifying an error class.
spec (ruby 3.3) / spec: lib/puppet-lint/bin.rb#L69
Layout/IndentationWidth: Use 2 (not -5) spaces for indentation. (https://rubystyle.guide#spaces-indentation)
spec (ruby 3.3) / spec: lib/puppet-lint/bin.rb#L70
Layout/FirstArrayElementIndentation: Use 2 spaces for indentation in an array, relative to the first position after the preceding left parenthesis.
spec (ruby 3.3) / spec: lib/puppet-lint/bin.rb#L71
Style/TrailingCommaInArrayLiteral: Put a comma after the last item of a multiline array. (https://rubystyle.guide#no-trailing-array-commas)
spec (ruby 3.3) / spec: lib/puppet-lint/bin.rb#L72
Layout/FirstArrayElementIndentation: Indent the right bracket the same as the first position after the preceding left parenthesis.
spec (ruby 3.3) / spec: lib/puppet-lint/bin.rb#L73
Layout/ElseAlignment: Align `else` with `if`.
spec (ruby 3.3) / spec: lib/puppet-lint/bin.rb#L75
Layout/EndAlignment: `end` at 75, 6 is not aligned with `if` at 68, 13.
spec (ruby 3.3) / spec: lib/puppet-lint/checks.rb#L60
Style/RegexpLiteral: Use `%r` around regular expression. (https://rubystyle.guide#percent-r)
spec (ruby 3.3) / spec: lib/puppet-lint/plugins/legacy_facts/legacy_facts.rb#L117
Style/RegexpLiteral: Use `%r` around regular expression. (https://rubystyle.guide#percent-r)
spec (ruby 3.3) / spec: lib/puppet-lint/plugins/legacy_facts/legacy_facts.rb#L123
Lint/UselessRescue: Useless `rescue` detected.
spec (ruby 3.3) / spec: lib/puppet-lint/plugins/legacy_facts/legacy_facts.rb#L123
Style/RescueStandardError: Avoid rescuing without specifying an error class.
spec (ruby 2.7) / spec: lib/puppet-lint/bin.rb#L69
Layout/IndentationWidth: Use 2 (not -5) spaces for indentation. (https://rubystyle.guide#spaces-indentation)
spec (ruby 2.7) / spec: lib/puppet-lint/bin.rb#L70
Layout/FirstArrayElementIndentation: Use 2 spaces for indentation in an array, relative to the first position after the preceding left parenthesis.
spec (ruby 2.7) / spec: lib/puppet-lint/bin.rb#L71
Style/TrailingCommaInArrayLiteral: Put a comma after the last item of a multiline array. (https://rubystyle.guide#no-trailing-array-commas)
spec (ruby 2.7) / spec: lib/puppet-lint/bin.rb#L72
Layout/FirstArrayElementIndentation: Indent the right bracket the same as the first position after the preceding left parenthesis.
spec (ruby 2.7) / spec: lib/puppet-lint/bin.rb#L73
Layout/ElseAlignment: Align `else` with `if`.
spec (ruby 2.7) / spec: lib/puppet-lint/bin.rb#L75
Layout/EndAlignment: `end` at 75, 6 is not aligned with `if` at 68, 13.
spec (ruby 2.7) / spec: lib/puppet-lint/checks.rb#L60
Style/RegexpLiteral: Use `%r` around regular expression. (https://rubystyle.guide#percent-r)
spec (ruby 2.7) / spec: lib/puppet-lint/plugins/legacy_facts/legacy_facts.rb#L117
Style/RegexpLiteral: Use `%r` around regular expression. (https://rubystyle.guide#percent-r)
spec (ruby 2.7) / spec: lib/puppet-lint/plugins/legacy_facts/legacy_facts.rb#L123
Lint/UselessRescue: Useless `rescue` detected.
spec (ruby 2.7) / spec: lib/puppet-lint/plugins/legacy_facts/legacy_facts.rb#L123
Style/RescueStandardError: Avoid rescuing without specifying an error class.