Closed DirtyF closed 7 years ago
Ha. I'm starting to see a trend... Nice!
Technically, technically, I think we'll want to alias the old versions of these to avoid a breaking change, since these were public methods (although I don't know how/why you'd use them).
Yes, I think we need to assume that anything not private
is being twiddled in someway somewhere. All the more reason to make new methods private by default.
Do we want to create an alias, or just exclude from Rubocop until next major version?
Do we want to create an alias, or just exclude from Rubocop until next major version? Hide all checks
Not strongly opinionated... I suspect we won't remember to rename the methods before a major release, but would be more likely to remember to remove aliases since they look out of place.
Definitely need to maintain compatibility. Does rubocop complain about the aliases too though? Having bad names.
@parkr Rubocop doesn't complain about aliases.
Thanks @DirtyF! This was included in (and was the impetus for) https://github.com/jekyll/jekyll-redirect-from/pull/131.
This PR is the result of adding inherit_gem:\n jekyll: .rubocop.yml to .rubocop.yml and running rubocop -a so that this project follows Jekyll core's coding styles for consistency like other core plugins. This way, as Jekyll's Ruby style changes, so too will this project's.