The "../.." folder is always ignored #10675
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
bug
ESLint is working incorrectly
core
Relates to ESLint's core APIs and features
good first issue
Good for people who haven't worked on ESLint before
(Found while investigating this report from Gitter)
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using?
Please show your full configuration:
Configuration
What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.
What did you expect to happen?
I expected ESLint to lint the
foo/file.js
file and report a parsing error for it, since its syntax is invalid.What actually happened? Please include the actual, raw output from ESLint.
ESLint didn't find any files:
This is happening as a result of the logic here. By default, ESLint ignores all folders starting with a
.
character (to prevent things like.git
from being linted), and there is supposed to be an exception that prevents folders in..
from being ignored. However, it seems like this exception isn't working when a folder is../..
, so that folder is incorrectly being ignored.The text was updated successfully, but these errors were encountered: