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

eslint-config-canopy

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-canopy

A standard eslint configuration for Canopy frontend developers

  • 4.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
263
increased by150.48%
Maintainers
0
Weekly downloads
 
Created
Source

canopy-eslint

A standard eslint config for Canopy frontend developers. This assumes that you're using babel and babel-eslint babel-eslint.

Installation

yarn add -D eslint-config-canopy

Usage

Your project needs to use the new ESLint v9 flat config system. Create an eslint.config.mjs file in your project root (Remove .eslintrc if it exists):

import canopyConfig from "eslint-config-canopy";

export default [
  { // Specify directories/files to ignore here
    ignores: ["src/create-edit-client-old/**/*"],
  },
  ...canopyConfig,
  { // Override rules here
    rules: {
      "@typescript-eslint/no-unused-vars": "off",
    },
  },
];

FAQs

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

  • 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