Socket
Book a DemoInstallSign in
Socket

@productminds/eslint-config

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@productminds/eslint-config

ESLint config

2.0.0
latest
npmnpm
Version published
Weekly downloads
487
10.68%
Maintainers
2
Weekly downloads
 
Created
Source

ESLint config

These are settings for ESLint.

What it does

This setup lints your JavaScript code based on practices. Check the [.eslintrc.js] file to see what is included. Feel free to override the rules that make sense for you.

Installing

  • In your project folder, run:
npm i -D pminds-eslint-preset # or yarn install --dev pminds-eslint-preset
npx install-peerdeps --dev pminds-eslint-preset
  • You will see several dependencies were installed. Now, create (or update) a eslint.config.mjs file with the following content:
/** @type {import("eslint").Linter.Config} */
import config from '@productminds/eslint-config'
import tseslint from 'typescript-eslint'

export default tseslint.config(
  { ignores: ['dist', 'node_modules'] },
  config,
)

FAQs

Package last updated on 17 Feb 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.