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

oxlint ignores symbolic links #3080

Closed
sergi opened this issue Apr 23, 2024 · 2 comments
Closed

oxlint ignores symbolic links #3080

sergi opened this issue Apr 23, 2024 · 2 comments
Assignees
Labels
C-bug Category - Bug

Comments

@sergi
Copy link

sergi commented Apr 23, 2024

I'm using the following command:

oxlint -c .eslintrc.json --tsconfig ./tsconfig.json .

but it's ignoring a ./shared/ folder inside the folder where its run, while eslint doesn't. Is there any option or parameter that can be set up to explicitly parse symlinks?

@sergi sergi added the C-bug Category - Bug label Apr 23, 2024
@Boshen
Copy link
Member

Boshen commented Apr 24, 2024

// Turning off `follow_links` because:
// * following symlinks is a really slow syscall
// * it is super rare to have symlinked source code
let inner = inner.ignore(false).git_global(false).follow_links(false).build_parallel();

Let me think about this.

Boshen added a commit that referenced this issue May 12, 2024
@Boshen
Copy link
Member

Boshen commented May 14, 2024

--symlinks added in #3244 and released in v0.3.3.

@Boshen Boshen closed this as completed May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category - Bug
Projects
None yet
Development

No branches or pull requests

2 participants