class Gitlab::Styles::Rubocop::Cop::WithoutReactiveCache

Cop that prevents the use of `without_reactive_cache`

Constants

MSG

Public Instance Methods

on_send(node) click to toggle source
# File lib/gitlab/styles/rubocop/cop/without_reactive_cache.rb, line 11
def on_send(node)
  return unless node.children[1] == :without_reactive_cache

  add_offense(node, location: :selector)
end