Support "ignorePath" as top level configuration setting #13361
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
question
This issue asks a question about ESLint
Currently the only way to use alternate ignore file is to pass
--ignore-path
into CLI, and that's quite limited as it doesn't ensure that desired ignore file is respected by default in every lint check for given project.That affects IDE configurations. e.g. on my side in most of the projects I want ESLint by default to treat
.gitignore
as ignore file, for that I have lint scripts configured aseslint --ignore-file=.gitignore .
, but that's not picked by VSCode ESLint extension, which anyway doesn't want to lint files that start with a.
which are otherwise linted by lint scripts.The text was updated successfully, but these errors were encountered: