🚀. Socket Launch Week Day 3:Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions.Learn more
Sign In

@endo/eslint-plugin

Package Overview
Dependencies
Maintainers
5
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@endo/eslint-plugin

ESLint plugin for using Endo

Source
npmnpm
Version
2.2.2
Version published
Weekly downloads
3.1K
20.94%
Maintainers
5
Weekly downloads
 
Created
Source

@endo/eslint-plugin

Endo-specific plugin

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install @endo/eslint-plugin:

npm install @endo/eslint-plugin --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install @endo/eslint-plugin globally.

Usage

Extend a plugin:@endo/CONFIG in your .eslintrc configuration file. You can omit the /eslint-plugin suffix:

{
    "extends": [
        "plugin:@endo/recommended"
    ]
}

CONFIG can be one of:

  • recommended rules for code compatible with Hardened JS
  • imports opinions on how packages should use imports
  • style opinions on JS coding style
  • strict all of the above
  • internal rules only for packages within the Endo source repository

You can configure individual rules you want to use under the rules section.

{
    "rules": {
        "@endo/rule-name": 2
    }
}

Supported Rules

  • Fill in provided rules here

Keywords

eslint

FAQs

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