Skip to content

Latest commit

 

History

History
39 lines (21 loc) · 1.82 KB

File metadata and controls

39 lines (21 loc) · 1.82 KB

rubocop-github

Unreleased

  • Added GitHub/UnreliableSubclasses cop. Flags Class#descendants and Class#subclasses when the receiver is a constant. Both happily skip classes that haven't been autoloaded yet. Both also depend on GC timing for dynamically-defined classes, which is great fun in tests.

v0.26.0

v0.25.0

v0.24.0

v0.23.0

v0.22.0

v0.21.0

  • Added new GitHub/AvoidObjectSendWithDynamicMethod cop to discourage use of methods like Object#send

v0.20.0

  • Updated minimum dependencies for "rubocop" (>= 1.37), "rubocop-performance" (>= 1.15), and "rubocop-rails", (>= 2.17).

v0.19.0

  • Unset DisabledByDefault: true in config/default.yml. Prevents confusing behaviour where users of the gem didn't realise that RuboCop's default cops weren't being applied (including potentially custom cops in their projects). We've explicitly set Enabled: false for all the cops that were previously default disabled. This has the effect that consumers of this gem won't be surprised by new linting violations when they use this new version in their projects. (#119)