A test repository for lazy-formatter.
# prettier.js is formatted by Prettier
# standard.js is formatted by Standard
lazy-formatter write prettier.js standard.js
$ lazy-format check prettier.js standard.js
# If prettier.js is not formatted
prettier.js should be formatted by: npx prettier --write
# If standard.js is not formatted
standard.js should be formatted by: npx standard --fix
This is used in the CI, Please see this Pull Request.
When pushed to main
branch, the changed files are formatted by Prettier.
By implementing it in CI,
your project can be lazyly migrated from Standard to Prettier.
Please see this commit.
Please see lazy-formatter.json.