Created
October 31, 2021 17:44
-
-
Save Lukas238/d9b3a563c972e02e07eb923bd513b25d to your computer and use it in GitHub Desktop.
Bulk format .json files with Prettier from CLI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run Prettier formater on all `.json`files on folder from the CLI | |
``` | |
npx prettier --write "src/test/**/*.json" | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nice. thank so much :D