New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cprussin/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cprussin/eslint-config

A set of strict base eslint configs

  • 3.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
598
decreased by-10.61%
Maintainers
1
Weekly downloads
 
Created
Source

@cprussin/eslint-config v3.0.0Docs


@cprussin/eslint-config v3.0.0

This package contains a set of strict base eslint configs for packages using ESM.

Note this package exports configs in the new eslint flat config format.

Installing

Use the package manager of your choice to install:

  • npm: npm install --save-dev @cprussin/eslint-config
  • pnpm: pnpm add -D @cprussin/eslint-config
  • yarn: yarn add -D @cprussin/eslint-config

Usage

First, ensure you're using ESM (set "type": "module" in your package.json.). Then, the most basic eslint.config.js could look like this:

export { base as default } from "@cprussin/eslint-config";

To override things, just concat the config you want together, for instance:

import { base } from "@cprussin/eslint-config";

export default [
  ...base,
  {
    ignores: ["foo/bar/**"],
  },
];

Variables

Functions

Keywords

FAQs

Package last updated on 03 Jun 2024

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc