Vscode-eslint: Lint whole folder task ignores workingDirectories setting

Created on 25 Feb 2019  路  2Comments  路  Source: microsoft/vscode-eslint

Hey

Not sure if this was already reported but could not find any similar issue.

I noticed that if I ran the 'lint whole folder' task it ignores the workingDirectories setting.
Is this intended behaviour?

If so, is it something that would make sense to change? I could open a PR for it, would just need some pointer on how to approach it

Thanks

feature-request help wanted

Most helpful comment

Hey,

I have a solution for this issue i'll open a PR.

All 2 comments

Honoring these setting would make perfect sense. The code should basically make a cd into these working dirs before executing the lint task. So instead of contributing one there would be n, one per working dir setting.

The corresponding code is here: https://github.com/Microsoft/vscode-eslint/blob/master/client/src/tasks.ts#L44

Hey,

I have a solution for this issue i'll open a PR.

Was this page helpful?
0 / 5 - 0 ratings