Open srawlins opened 1 year ago
FWIW, I am proposing this primarily as due diligence in deleting the (not implemented) analyzer Hint. But also I would support this rule. I don't see it happen much, but it's a legitimate request, helpful for new users (as our lib/
setup is bespoke).
file_import_inside_lib_references_file_outside
Description
This rule was originally proposed (and implemented?) as an analyzer Hint, but the implementation is either gone or never existed, and this is more a style recommendation so should be a Lint rule.
Details
The YAML definition of the Hint was the following:
Kind
Style
Bad Examples
Relative imports from
lib/
that go outsidelib/
.Good Examples
Relative imports from
lib/
that don't go outsidelib/
.Relative imports from outside
lib/
.Discussion
Discussion checklist