Vscode-eslint: .eslintignore is not working

Created on 5 Oct 2017  路  1Comment  路  Source: microsoft/vscode-eslint

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

question

Most helpful comment

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.

>All comments

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.

Was this page helpful?
0 / 5 - 0 ratings