Closed carlo-quinonez closed 3 years ago
Thanks for your suggestion and for asking upfront. This rule doesn't sound like it would be related to eslint-plugin-meteor
as it doesn't concern Meteor itself. It might be better suited somewhere else. You might be able to use no-relative-parent-imports
from eslint-plugin-import
.
I'll close this issue, let me know in case there's something I misunderstood. I really appreciate you offering to contribute!
Since Meteor imports absolute references from the project root, they're easier to deal with and scan. In my meteor projects, the imports end up a mix of absolute and relative paths. It's hard to fight this because generally absolute paths in imports are a TERRIBLE idea, but it's just another great example of how Meteor turn problems on their heads sometimes.
Open to a PR?