Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update: do not ignore symbolic links (fixes #13551, fixes #13615) #14126

Merged
merged 2 commits into from Feb 26, 2021

Conversation

g-plane
Copy link
Member

@g-plane g-plane commented Feb 21, 2021

Prerequisites checklist

What is the purpose of this pull request? (put an "X" next to an item)

[x] Bug fix

What changes did you make? (Give an overview)

When enumerating files, if enumerator encounters symbolic links, resolves it.

Fixes #13551
Fixes #13615

Is there anything you'd like reviewers to focus on?

Maybe no.

@g-plane g-plane added bug ESLint is working incorrectly core Relates to ESLint's core APIs and features accepted There is consensus among the team that this change meets the criteria for inclusion labels Feb 21, 2021
@mdjermanovic
Copy link
Member

Should we tag this bug fix as Update:?

It can produce more linting errors and thus break builds because it can cause linting more files with same command.

@g-plane
Copy link
Member Author

g-plane commented Feb 22, 2021

Sounds reasonable.

@g-plane g-plane changed the title Fix: do not ignore symbolic links (fixes #13551, fixes #13615) Update: do not ignore symbolic links (fixes #13551, fixes #13615) Feb 22, 2021
Copy link
Member

@mdjermanovic mdjermanovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

This was referenced Mar 17, 2021
@eslint-github-bot eslint-github-bot bot locked and limited conversation to collaborators Aug 26, 2021
@eslint-github-bot eslint-github-bot bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Aug 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

eslint ignores symbolic links to files when traversing directories Symbolic links are ignored
2 participants