Install with yarn:
yarn global add prettier
Install with npm
npm install --global prettier
CLI usage
prettier --single-quote --trailing-comma es5 --write "{resources,assets,js}/**/*.js"
Categorieën
JavaScript