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

eslint-plugin-pipedream

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-pipedream

ESLint plugin for Pipedream components: https://pipedream.com/docs/components/api/

  • 0.2.1
  • npm
  • Socket score

Version published
Weekly downloads
89
decreased by-49.14%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-plugin-pipedream

This ESLint plugin implements rules that validate the Pipedream component guidelines. Only a subset of the guidelines are mapped to rules: those that can be statically-analyzed.

For example, all components should have a name:

Component must have name error

Learn more about Pipedream at https://pipedream.com/docs, and read more about Pipedream components in the component API docs.

We will gladly accept issues and PRs in this repo.

Installation

In the repo where you manage Pipedream components, run:

npm install eslint-plugin-pipedream --save-dev

Then add the Pipedream plugin to the plugins section of your ESLint config file:

"plugins": [
  "pipedream"
],

Developing the plugin

When you're contributing to this plugin, first install dependencies:

npm i

You can run tests with:

npm run test

All rules are exported from index.js. Tests can be found in the tests directory. Each new rule should have associated tests.

If this is your first time creating ESLint rules, see these helpful resouces:

Keywords

FAQs

Package last updated on 22 Oct 2021

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