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
CLIEngine cwd
option
#4472
Comments
Thanks for the issue! If you're reporting a bug, please be sure to include:
Requesting a new rule? Please see Proposing a New Rule for instructions. |
Agree, this has been in the back of my mind for a while. Do you want to submit a pull request? |
I don't have the time right now as I'm traveling, but I will eventually if no one else steps in. |
It's not even as simple as that, it should go in the same directory as the package.json file/node_modules dir, otherwise the module is not found strangely enough. |
Update: Add cwd option for cli-engine (fixes #4472)
It would be useful to be able to set the
cwd
(current working directory) of where ESLint works from. My specific use-case is that I use ESLint in an Atom Editor plugin whereprocess.cwd() === '/'
.The text was updated successfully, but these errors were encountered: