- Add new
MethodOrder
style that more closely aligns with the Stepdown rule from the Clean Code book. Pull request #11 by Ferran Pelayo Monfort. - Introduce unit tests to the codebase. Pull request #11 by Ferran Pelayo Monfort.
- Rename internal helper to avoid conflict with Rubocop.
- Fix
ServicePerformMethod
autocorrect sometimes resulting in infinite loops.
- Fix
DescribePublicMethod
uninitialized constant error sometimes happening.
- Do not check method order in modules for the time being.
- Fix
SafetyAssuredComment
misbehaving when there are multiple comments. Pull request #8 by Garrett Blehm.
- Internal cleanups.
- Improve cops documentation.
- Fix
MethodOrder
autocorrect for Sorbet signatures. - Fix
MethodOrder
conflicts when there are both protected and private methods.
- Fix
MethodOrder
autocorrect for methods not separated by new lines.
- Make cops inherit from
RuboCop::Cop::Base
instead of deprecatedRuboCop::Cop::Cop
.
- Improve cops documentation.
- Check method order in modules.
- Add initial cops.
- Initial release.