@pnxdxt/prettier-config
v0.2.0
Published
My prettier config
Downloads
7
Maintainers
Readme
@pnxdxt/prettier-config
Installation
Install the package
npm i -D @pnxdxt/prettier-configSetup
Create the following file
.prettierrc.jsmodule.exports = require("@pnxdxt/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 prettierRelated repos
- https://github.com/pnxdxt/eslint-config
