-
-
Notifications
You must be signed in to change notification settings - Fork 476
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
Position not provided with --stdin-file-path
#3201
Closed
1 task done
hexh250786313 opened this issue
Jun 13, 2024
· 2 comments
· Fixed by #3211 · 4 remaining pull requests
Closed
1 task done
Position not provided with --stdin-file-path
#3201
hexh250786313 opened this issue
Jun 13, 2024
· 2 comments
· Fixed by #3211 · 4 remaining pull requests
Labels
A-CLI
Area: CLI
A-Diagnostic
Area: diagnostocis
S-Bug-confirmed
Status: report has been confirmed as a valid bug
Comments
Can you provide us with all the information to replicate the issue? In this case, the file you're trying to lint. Without that, it's not possible to help you |
@ematipico I apologize for not providing detailed information earlier. Here are the steps to reproduce: Execute that:
And you will get that:
|
Sec-ant
added
A-CLI
Area: CLI
A-Diagnostic
Area: diagnostocis
S-Bug-confirmed
Status: report has been confirmed as a valid bug
and removed
S-Needs repro
Status: needs a reproduction
labels
Jun 13, 2024
This was referenced Aug 28, 2024
This was referenced Sep 9, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-CLI
Area: CLI
A-Diagnostic
Area: diagnostocis
S-Bug-confirmed
Status: report has been confirmed as a valid bug
Environment information
What happened?
I've tried both
biome lint ./xxx.ts
andbiome lint --stdin-file-path ./xxx.ts < ./xxx.ts
. It's clear that the former command provides more information than the latter.I'm using
--stdin-file-path
in my Neovim lint parser, but it doesn't provide the error position. This prevents my parser from locating the error position. I believe it would be beneficial for all linters to provide the error position when using stdin mode.Expected result
Provide error position when use
lint
with stdin mode like eslint:Eslint:
Biome:
Code of Conduct
The text was updated successfully, but these errors were encountered: