You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dbaeumer opened this issue
Jul 31, 2024
· 1 comment
· Fixed by #18736
Assignees
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionbugESLint is working incorrectlyrepro:yesIssues with a reproducible example
Node version: v20.13.1
npm version: v10.8.1
Local ESLint version: v9.8.0 (Currently used)
Global ESLint version: Not found
Operating System: linux 6.6.36.3-microsoft-standard-WSL2
nzakas
added
accepted
There is consensus among the team that this change meets the criteria for inclusion
repro:yes
Issues with a reproducible example
and removed
repro:needed
This issue should include a reproducible example
labels
Jul 31, 2024
acceptedThere is consensus among the team that this change meets the criteria for inclusionbugESLint is working incorrectlyrepro:yesIssues with a reproducible example
Environment
Node version: v20.13.1
npm version: v10.8.1
Local ESLint version: v9.8.0 (Currently used)
Global ESLint version: Not found
Operating System: linux 6.6.36.3-microsoft-standard-WSL2
What parser are you using?
Default (Espree)
What did you do?
This lints the file fixError.js both with lintText and with lintFiles. Interestingly they produce different results.
lintText
lintFiles
What did you expect to happen?
Both functions produce the same result.
What actually happened?
See above
Link to Minimal Reproducible Example
https://github.com/dbaeumer/eslint-bug.git
Participation
Additional comments
No response
The text was updated successfully, but these errors were encountered: