@nx/js:setup-prettier
Setup Prettier as the formatting tool.
Monorepo World: October 7, 2024Monorepo World: October 7, 2024Join us!
Setup Prettier as the formatting tool.
1nx generate setup-prettier ...
2By default, Nx will search for setup-prettier in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g @nx/js:setup-prettier ...
2Show what will be generated without writing to disk:
1nx g setup-prettier ... --dry-run
2falseSkip formatting files.
falseDo not add dependencies to package.json.
Join us live for exciting talks on developer tooling and monorepos! Catch the action on YouTube and join the conversation on Discord!