Socket
Book a DemoInstallSign in
Socket

@lintkit/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lintkit/eslint-config

LintKit: EsLint Config

2.1.0
latest
Source
npmnpm
Version published
Weekly downloads
73
217.39%
Maintainers
1
Weekly downloads
 
Created
Source

LintKit: ESLint Config

Installation

Install the dependency

npm i --dev @lintkit/eslint-config --save

Add the cache file to your .gitignore

# Linting
.cache

Add the scripts to your package.json

"scripts": {
  "eslint:dry-run": "eslint app --color --cache --config node_modules/@lintkit/eslint-config/eslint.config.js --cache-location .cache/ --cache-strategy content",
  "eslint:fix": "npm run eslint:dry-run -- --fix",
}

Local Override

If you need to override some of the config (but keep LintKit defaults), place a file in the root of your project eslint.config.js (or eslint.config.mjs if required)

Update the script to use your local eslint.config.js file instead of the LintKit one.

You can then include the LintKit config and add customisations where required.

import config from '@lintkit/eslint-config/config.js';

config.js.ignores: [
	...config.js.ignores,
	'**/.Build/**',
]

export default Object.values(config);

Upgrading to v2

  • Any references to node_modules/@lintkit/eslint-config/eslint.config.mjs should be corrected to node_modules/@lintkit/eslint-config/eslint.config.js

FAQs

Package last updated on 08 May 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.