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

fix(eslint): handle monorepo setup for eslint #4637

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 19, 2023

  1. fix(eslint): handle monorepo setup for eslint

    The heuristic for finding the correct Cwd when executing eslint does not
    work in the context of a monorepo setup where the `.eslintrc.js` may not
    live in the root of the repo but in one of the leaf packages ie. each
    package may have its own settings.
    
    This PR fixes the behaviour by setting Cwd to the closest config path
    instead of the bin path.
    bodymindarts committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    c42909f View commit details
    Browse the repository at this point in the history