1.0.1 • Published 2 years ago

@sweetalert2/prettier-config v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Prettier shareable config for the SweetAlert2 JS/TS coding style

npm version semantic-release

Prettier shareable config for the SweetAlert2 JS/TS coding style

Installation

$ npm install --save-dev @sweetalert2/prettier-config

or

$ yarn add --dev @sweetalert2/prettier-config

Usage

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...
}