2.2.0 • Published 5 years ago
@vizapp-france/prettier-config v2.2.0
@vizapp-france/prettier-config
Installation
Install the package
npm i -D @vizapp-france/prettier-configSetup
Create the following file
.prettierrc.jsmodule.exports = require("@vizapp-france/prettier-config");Add the following to
scriptsinpackage.json"prettier": "prettier '**/*.{js,ts,json,css,scss,html,hbs,md}' --write"Install the relevant Editor Addon/Plugin and enable "Prettier on Save".
Running
npm run prettier