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

Add command to format json files in project to just format recipe #338

Open
kerber0x opened this issue Apr 24, 2024 · 1 comment
Open

Add command to format json files in project to just format recipe #338

kerber0x opened this issue Apr 24, 2024 · 1 comment

Comments

@kerber0x
Copy link
Contributor

kerber0x commented Apr 24, 2024

just fmt formats rust, toml and bash files, but not json. Add that one to the recipe.

@kerber0x
Copy link
Contributor Author

It can be easily done with

npx prettier@2.7.1 --$op "./**/*.json" similarly to how it's done for md files in format_md.sh, the problem is that it formats everything, including schemas (which should probably be ignored).

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

No branches or pull requests

1 participant