Add bulk fix assets rake task #1109
Annotations
10 errors and 1 warning
Run RuboCop:
lib/tasks/assets.rake#L91
Style/DoubleNegation: Avoid the use of double negation (`!!`). (https://rubystyle.guide#no-bang-bang)
|
Run RuboCop:
lib/tasks/assets.rake#L91
Style/DoubleNegation: Avoid the use of double negation (`!!`). (https://rubystyle.guide#no-bang-bang)
|
Run RuboCop:
lib/tasks/assets.rake#L106
Style/MethodDefParentheses: Use def with parentheses when there are parameters. (https://rubystyle.guide#method-parens)
|
Run RuboCop:
lib/tasks/assets.rake#L107
Style/Semicolon: Do not use semicolons to terminate expressions. (https://rubystyle.guide#no-semicolon)
|
Run RuboCop:
lib/tasks/assets.rake#L110
Style/Semicolon: Do not use semicolons to terminate expressions. (https://rubystyle.guide#no-semicolon)
|
Run RuboCop:
spec/lib/tasks/assets_spec.rb#L93
RSpec/BeEq: Prefer `be` over `eq`. (https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/BeEq)
|
Run RuboCop:
spec/lib/tasks/assets_spec.rb#L100
Rails/SaveBang: Use `save!` instead of `save` if the return value is not checked. (https://rails.rubystyle.guide#save-bang)
|
Run RuboCop:
spec/lib/tasks/assets_spec.rb#L148
RSpec/BeEq: Prefer `be` over `eq`. (https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/BeEq)
|
Run RuboCop:
spec/lib/tasks/assets_spec.rb#L155
Rails/SaveBang: Use `save!` instead of `save` if the return value is not checked. (https://rails.rubystyle.guide#save-bang)
|
Run RuboCop
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading