@sweetalert2/eslint-config

ESLint shareable config for the SweetAlert2 JS/TS coding style

Usage no npm install needed!

<script type="module">
  import sweetalert2EslintConfig from 'https://cdn.skypack.dev/@sweetalert2/eslint-config';
</script>

README

ESLint shareable config for the SweetAlert2 JS/TS coding style

ESLint shareable config for the SweetAlert2 JS/TS coding style

Installation

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

or

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

Usage

Once the @sweetalert2/eslint-config package is installed, you can use it by specifying @sweetalert2/eslint-config in the extends section of your ESLint configuration.

{
  "extends": "@sweetalert2/eslint-config",
  "rules": {
    // Additional, per-project rules...
  }
}