Skip to content
New issue

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

New rule: no-relative-packages #966

Merged
merged 1 commit into from Jan 31, 2021

Commits on Nov 2, 2017

  1. [New]: add no-relative-packages

    Use this rule to prevent importing packages through relative paths.
    
    It's useful in Yarn/Lerna workspaces, were it's possible to import a sibling package using `../package` relative path, while direct `package` is the correct one.
    
    Co-authored-by: Rafal Lindemann <rl@stamina.pl>
    Co-authored-by: Tom Payne <tom@tompayne.dev>
    Co-authored-by: Jordan Harband <ljharb@gmail.com>
    3 people committed Nov 2, 2017
    Copy the full SHA
    6f5c52c View commit details
    Browse the repository at this point in the history