Fix and refactor acts as favorable and acts as watchable #12992
GitHub Actions / rubocop
succeeded
Jun 26, 2024 in 0s
reviewdog [rubocop] report
reported by reviewdog 🐶
Findings (0)
Filtered Findings (4)
lib_static/open_project/acts/watchable.rb|136 col 33| Redundant safe navigation detected, use .
instead.
lib_static/open_project/acts/watchable.rb|145 col 31| Prefer keyword arguments for arguments with a boolean default value; use watching: true
instead of watching = true
.
lib_static/open_project/acts/watchable.rb|161 col 59| Use any?(user.id)
instead of block.
lib_static/open_project/acts/watchable.rb|162 col 32| Use any?(user.id)
instead of block.
Loading