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

.eslintignore is not working #309

Closed
thinklinux opened this issue Oct 5, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@thinklinux
Copy link

commented Oct 5, 2017

Uploading a screenshot. Maybe I am doing something wrong but the test folder is not ignored for some reason.

screen shot 2017-10-05 at 12 10 22

VSCode 1.16.1
ESlint plugin version 1.3.2

@dbaeumer dbaeumer added the question label Oct 6, 2017

@dbaeumer

This comment has been minimized.

Copy link
Member

commented Oct 6, 2017

The reason is that .eslintignore files are only resolve relative to the current working directory which in our cause the folder that contains the server folder. Hence the file is not read.

ESLint as support to specifying working directories for layouts like the one you use. Please see https://github.com/Microsoft/vscode-eslint#settings-options

Ping if this are still unclear.

@dbaeumer dbaeumer closed this Oct 6, 2017

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 21, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.