White-Whale-Defi-Platform / white-whale-core

Core contracts for White Whale, The Interchain Liquidity Protocol for the Cosmos.
https://whitewhale.money
MIT License
36 stars 23 forks source link

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

Open kerber0x opened 3 months ago

kerber0x commented 3 months ago

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

kerber0x commented 2 months ago

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).