Bug: inconsistent ignoring files #15931
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
bug
ESLint is working incorrectly
repro:needed
Projects
Environment
Node version: 14.18
npm version: 6.14.15
Local ESLint version: 7.32
Global ESLint version: 7.32
Operating System: ubuntu
What parser are you using?
@typescript-eslint/parser
What did you do?
node_modules
to.eslintignore
fileeslint --fix **/*.{ts,tsx,js}
What did you expect to happen?
All files in project except
node_modules
will scanned and fixedWhat actually happened?
Eslint confused and don't understand what i want. Eslint display a weird and pointless suggestions.
Participation
Additional comments
Probably it may be solved if i will modify comand
eslint --fix **/*.{ts,tsx,js}
to excludenode_modules
, but in this case a file.eslintignore
absolutely useless, so i don't think it's expected behaviorThe text was updated successfully, but these errors were encountered: