@vizapp-france/prettier-config
v2.2.0
Published
Prettier config for Vizapp dev team projects
Downloads
5
Maintainers
Readme
@vizapp-france/prettier-config
Installation
Install the package
npm i -D @vizapp-france/prettier-config
Setup
Create the following file
.prettierrc.js
module.exports = require("@vizapp-france/prettier-config");
Add the following to
scripts
inpackage.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
Related repos
- https://github.com/vizapp-france/eslint-config