You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@sweetalert2/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sweetalert2/eslint-config

ESLint shareable config for the SweetAlert2 JS/TS coding style

1.2.0
latest
Source
npmnpm
Version published
Weekly downloads
2.3K
318.36%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 16 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts