Skip to content

Wrong defaults in Lerna repo #14

Open
@alistair-hmh

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions