New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@slhs/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@slhs/eslint-config

SLHS ESLint config

latest
Source
npmnpm
Version
2.6.2
Version published
Weekly downloads
5.3K
11.14%
Maintainers
1
Weekly downloads
 
Created
Source

@slhs/eslint-config

This is the SLHS ESLint configuration.

npm Version Build Status

Requirements

This config uses the new "Flat Config" format and comes with some requirements:

  • Node.js 20.0.0 or newer
  • ESLint 8.57.0 or newer
  • Your project to be in native ESM ("type": "module" in your package.json)
  • VSCode must be configured to use the Flat Config file (eslint.config.js). You'll probably want to enable this as a workspace setting (not a user setting) and check it in to source control:

VSCode Settings Screenshot

Install

pnpm add -D @slhs/eslint-config

Be sure to install the appropriately versioned eslint peer dependency as well.

Usage

Follow the ESLint documentation on shared configurations. See the documentation on ignoring files if you need to ignore anything the config doesn't already ignore by default.

Examples

eslint.config.js

import { defineConfig } from 'eslint/config';
import slhsConfig from '@slhs/eslint-config';

const config = defineConfig([
  slhsConfig,
  {
    // your optional overrides here
  },
]);

export default config;

package.json

{
  "scripts": {
    ...
    "lint": "eslint --cache --cache-location ./node_modules/.cache/eslint .",
    ...
  }
}

Keywords

eslint

FAQs

Package last updated on 10 Apr 2026

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