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
Fixesrubocop#11293.
This PR fixes a false negative for `Style/Documentation`
when using custom macro.
The built-in macros (e.g. `include`, `extend`, `prepend`) and
DSL like `belongs_to` should be treated differently.
Only `include`, `extend`, and `prepend` will be needed to resolverubocop#8788.
Fixes#11293.
This PR fixes a false negative for `Style/Documentation`
when using custom macro.
The built-in macros (e.g. `include`, `extend`, `prepend`) and
DSL like `belongs_to` should be treated differently.
Only `include`, `extend`, and `prepend` will be needed to resolve#8788.
This does not get a lint error:
I think it should, because it is a class with legitimate contents, but no documentation.
I think the changes made in #8812 have introduced a false positive.
Expected behavior
Style/Documentation
lint error, as the class has no documentation.Actual behavior
No lint error.
RuboCop version
The text was updated successfully, but these errors were encountered: