You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In rubocop gem version 1.0 there will be a breaking change (rubocop/rubocop#8490) that will affect rubocop-i18n. That PR with a breaking change has been already merged into master so that means version 1.0 is going to be released reasonably soon.
This is the description of the breaking change:
Change logic for cop department name computation. Cops inside deep namespaces (5 or more levels deep) now belong to departments with names that are calculated by joining module names starting from the third one with slashes as separators. For example, cop Rubocop::Cop::Foo::Bar::Baz now belongs to Foo/Bar department (previously it was Bar).
Due to this rubocop-i18n will need to update its documentation in README.md file to correctly address new department names. Basically the only thing to do is to add I18n/ before all the departments and cop names that would go in .rubocop.yml file. This is required because all the cops in this gem are "deep" (5 levels of nesting).
In
rubocop
gem version 1.0 there will be a breaking change (rubocop/rubocop#8490) that will affectrubocop-i18n
. That PR with a breaking change has been already merged into master so that means version 1.0 is going to be released reasonably soon.This is the description of the breaking change:
Change logic for cop department name computation. Cops inside deep namespaces (5 or more levels deep) now belong to departments with names that are calculated by joining module names starting from the third one with slashes as separators. For example, cop
Rubocop::Cop::Foo::Bar::Baz
now belongs toFoo/Bar
department (previously it wasBar
).Due to this
rubocop-i18n
will need to update its documentation inREADME.md
file to correctly address new department names. Basically the only thing to do is to addI18n/
before all the departments and cop names that would go in.rubocop.yml
file. This is required because all the cops in this gem are "deep" (5 levels of nesting).So instead of this:
it should be like this:
As far as I can see it's the only change due to that PR.
The text was updated successfully, but these errors were encountered: