1.0.1 • Published 4 years ago
@sweetalert2/prettier-config v1.0.1
Prettier shareable config for the SweetAlert2 JS/TS coding style
Prettier shareable config for the SweetAlert2 JS/TS coding style
Installation
$ npm install --save-dev @sweetalert2/prettier-configor
$ yarn add --dev @sweetalert2/prettier-configUsage
Once the @sweetalert2/prettier-config package is installed, you can use it by specifying @sweetalert2/prettier-config in .prettierrc.js:
module.exports = {
  ...require("@sweetalert2/prettier-config"),
  // Additional, per-project rules...
}