prettier run on all files code example
Example 1: run prettier
npx prettier --write path/to/my/file.html
Example 2: prettier whole project
prettier --write "**/*.js"
npx prettier --write path/to/my/file.html
prettier --write "**/*.js"