Shopify / statsd-instrument

A StatsD client for Ruby apps. Provides metaprogramming methods to inject StatsD instrumentation into your code.
http://shopify.github.io/statsd-instrument
MIT License
570 stars 94 forks source link

Add a custom Rubocop cop that checks for using `value` as keyword argument #179

Closed wvanbergen closed 5 years ago

wvanbergen commented 5 years ago

Using StatsD.increment 'foo, value: 3 is deprecated - you should use StatsD.increment('foo', 3) instead. This rule will check for violations as best as it can.

I ran this cop on Shopify/shopify, and found no violations.