We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In my company we use this rules:
Module
Class
The result is:
module Companies::Products class TagService end end
Then then rubocop is always complaying. The rubocop rule that complains is ClassAndModuleChildren
ClassAndModuleChildren
I would like to split the rubocop rule Style/ClassAndModuleChildren in 2.
Style/ClassAndModuleChildren
Having Style/ClassChildren and Style/ModuleChildren, it would allow me to define it this way:
Style/ClassChildren
Style/ModuleChildren
Style/ModuleChildren: EnforcedStyle: "compact" Style/ClassChildren: EnforcedStyle: "nested"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is your feature request related to a problem? Please describe.
In my company we use this rules:
Module
s.Class
es.The result is:
Then then rubocop is always complaying. The rubocop rule that complains is
ClassAndModuleChildren
Describe the solution you'd like
I would like to split the rubocop rule
Style/ClassAndModuleChildren
in 2.Having
Style/ClassChildren
andStyle/ModuleChildren
, it would allow me to define it this way:The text was updated successfully, but these errors were encountered: