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
Exception
Looks like the rule https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Lint/InheritException, doesn't take into account if the Exception class is scoped or not.
i.e
module DockerRegistry2 class Exception < RuntimeError end class RegistryAuthenticationException < DockerRegistry2::Exception end # ... end
Rubocop is however mixing this scoped DockerRegistry2::Exception class with ::Exceptions.
DockerRegistry2::Exception
::Exceptions
More details you can find in the following PR: deitch/docker_registry2#81
The text was updated successfully, but these errors were encountered:
[Fix rubocop#11893] Fix a false positive for Lint/InheritException
Lint/InheritException
a186306
Fixes rubocop#11893. This PR fixes a false positive for `Lint/InheritException` when inheriting `Exception` with omitted namespace.
Merge pull request #11896 from koic/fix_false_positive_for_lint_inher…
df5e17a
…it_exception [Fix #11893] Fix a false positive for `Lint/InheritException`
Successfully merging a pull request may close this issue.
Looks like the rule https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Lint/InheritException, doesn't take into account if the
Exception
class is scoped or not.i.e
Rubocop is however mixing this scoped
DockerRegistry2::Exception
class with::Exceptions
.More details you can find in the following PR: deitch/docker_registry2#81
The text was updated successfully, but these errors were encountered: