Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@swarmion/eslint-plugin

Package Overview
Dependencies
Maintainers
4
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swarmion/eslint-plugin

An eslint plugin with rules to enforces proper usage of contracts.

  • 0.32.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

@swarmion/eslint-plugin

An eslint plugin with rules to enforces proper usage of contracts.

This package is part of the Swarmion project. See its documentation for more insights.

Installation

pnpm add --save-dev @swarmion/eslint-plugin

or if using yarn

yarn add --dev @swarmion/eslint-plugin

or if using npm

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

Usage

Add @swarmion to the plugins section of your .eslintrc configuration file, then configure the rules you want to use under the rules section.

{
  "plugins": ["@swarmion"],
  "rules": {
    "@swarmion/rule-name": "error"
  }
}

You can also enable all the recommended rules for our plugin. Add plugin:@swarmion/recommended in extends:

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

Rules

Key: :white_check_mark: = recommended, :wrench: = fixable

NameDescription:white_check_mark::wrench:
@swarmion/no-undeclared-contractsRequire that used contracts are defined in the serverless service file:white_check_mark:

Keywords

FAQs

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