Socket
Book a DemoInstallSign in
Socket

eslint-config-canopy

Package Overview
Dependencies
Maintainers
11
Versions
11
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

latest
npmnpm
Version
5.0.1
Version published
Weekly downloads
337
17.83%
Maintainers
11
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 21 Mar 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