Open
Description
I am using a Lerna repo which puts a package.json
in the root of the repo, as well as all the subprojects for the repo in packages/
.
Example:
. tree lerna-mono-repo/
├── package.json
├── node_modules/
│ └── xo/...
└── packages/
├── sub-repo-a
│ └── package.json
└── sub-repo-b.svg
└── package.json
Each of my sub-packages in the Lerna repo has different XO rules.
When I edit the code in Sublime for a sub-package, it shows me default XO rules, when I would expect to see the rules working from the package I'm editing.
Is there a way to make the closest package.json
to the file being edited - as the package.json the rules are picked from?
Metadata
Assignees
Labels
No labels
Activity