npm.io
1.3.4 • Published 3 months ago

@sweetalert2/eslint-config

Licence
MIT
Version
1.3.4
Deps
3
Size
3 kB
Vulns
0
Weekly
0
Stars
1

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

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