@significa/prettier-config

@significa/prettier-config

Usage no npm install needed!

<script type="module">
  import significaPrettierConfig from 'https://cdn.skypack.dev/@significa/prettier-config';
</script>

README

logo

@significa/prettier-config

Installation

npm i @significa/prettier-config --save-dev

Usage

On .prettierrc.js file add:

module.exports = require("@significa/prettier-config");

Script in package.json

"scripts": {
  "prettier": "prettier \"src/**/*.+(ts|tsx|js|jsx|json|yml|yaml|md|mdx)\" --write"
},

License

MIT