🎨 Automated project setup - Prettier
This package provides automated setup of Prettier in a new project.
npx @graham42/prettier-config@latest
This package will set up:
- npm scripts
check:format
andfix:format
in package.json - a
.prettierrc.js
file with config for better git diffs - a
.gitignore
file if one doesn't exist usingnpx gitignore@latest node
- the
prettier
package - VS Code project settings to format on save using Prettier
- some VS Code whitespace settings for better git diffs
- the VS Code Prettier extension as a recommended workspace extension to help new contributors to your project get up and running