🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@trigger.dev/eslint-plugin

Package Overview
Dependencies
Maintainers
5
Versions
343
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trigger.dev/eslint-plugin

ESLint plugin with trigger.dev best practices

3.3.12
latest
npm
Version published
Weekly downloads
4
-69.23%
Maintainers
5
Weekly downloads
 
Created
Source

@trigger.dev/eslint-plugin

ESLint plugin with trigger.dev best practices

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install @trigger.dev/eslint-plugin:

npm install @trigger.dev/eslint-plugin --save-dev

Usage

Add trigger-dev to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "trigger-dev"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "trigger-dev/rule-name": 2
    }
}

Rules

NameDescription
no-duplicated-task-keysPrevent duplicated task keys on trigger.dev jobs

Keywords

eslint

FAQs

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