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

fix(biome): use stdin #115

Merged
merged 1 commit into from
Apr 30, 2024
Merged

fix(biome): use stdin #115

merged 1 commit into from
Apr 30, 2024

Conversation

ton1517
Copy link
Contributor

@ton1517 ton1517 commented Apr 30, 2024

Using temp_file may change the file name and cause it to be formatted even though it is specified as ignore in the biome configuration.
biome format supports stdin.
see https://biomejs.dev/reference/cli/#biome-format

--stdin-file-path=PATH — Use this option when you want to format code piped from stdin, and print the output to stdout.

Copy link
Member

@mochaaP mochaaP 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!

@mochaaP mochaaP merged commit f5632db into nvimtools:main Apr 30, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants