@sweetalert2/eslint-config

1.2.0 • Public • Published

ESLint shareable config for the SweetAlert2 JS/TS coding style

npm version semantic-release

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.

import sweetAlert2EslintConfig from '@sweetalert2/eslint-config'

// eslint.config.js
export default [
  ...sweetAlert2EslintConfig,
  {
    // Additional, project-specific rules...
  },
]

Readme

Keywords

none

Package Sidebar

Install

npm i @sweetalert2/eslint-config

Weekly Downloads

2,438

Version

1.2.0

License

MIT

Unpacked Size

3 kB

Total Files

3

Last publish

Collaborators

  • limonte