modulesync 9.1.0 #6
ci.yml
on: pull_request
Puppet
/
Static validations
31s
Matrix: Puppet / unit
Puppet
/
Test suite
0s
Annotations
10 errors
Puppet / Static validations:
lib/puppet/functions/augeas.rb#L1
Style/FrozenStringLiteralComment: Missing frozen string literal comment.
|
Puppet / Static validations:
lib/puppet/functions/augeas.rb#L34
Style/IfUnlessModifier: Favor modifier `unless` usage when having a single-line body. Another good alternative is the usage of control flow `&&`/`||`. (https://rubystyle.guide#if-as-a-modifier)
|
Puppet / Static validations:
spec/classes/augeas_spec.rb#L1
Style/FrozenStringLiteralComment: Missing frozen string literal comment.
|
Puppet / Static validations:
spec/classes/augeas_spec.rb#L17
Style/ConditionalAssignment: Use the return of the conditional for variable assignment and comparison.
|
Puppet / Static validations:
spec/classes/augeas_spec.rb#L17
Style/AndOr: Use `&&` instead of `and`. (https://rubystyle.guide#no-and-or-or)
|
Puppet / Static validations:
spec/classes/augeas_spec.rb#L17
Style/RegexpLiteral: Use `%r` around regular expression. (https://rubystyle.guide#percent-r)
|
Puppet / Static validations:
spec/classes/augeas_spec.rb#L35
Style/TrailingCommaInArguments: Avoid comma after the last parameter of a method call. (https://rubystyle.guide#no-trailing-params-comma)
|
Puppet / Static validations:
spec/classes/augeas_spec.rb#L37
RSpec/EmptyLineAfterExample: Add an empty line after `it`. (https://rspec.rubystyle.guide/#empty-lines-around-examples, https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyLineAfterExample)
|
Puppet / Static validations:
spec/classes/augeas_spec.rb#L40
Style/TrailingCommaInArguments: Avoid comma after the last parameter of a method call. (https://rubystyle.guide#no-trailing-params-comma)
|
Puppet / Static validations:
spec/classes/augeas_spec.rb#L42
RSpec/EmptyLineAfterExample: Add an empty line after `it`. (https://rspec.rubystyle.guide/#empty-lines-around-examples, https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyLineAfterExample)
|