Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

eslint-plugin-jira-ticket-todos

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-jira-ticket-todos

Detect TODO tags without a Jira ticket associated

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
2
Created
Source

eslint-plugin-jira-ticket-todos Version Badge

===================

github actions Maintenance Status NPM version

Jira todo linting check for eslint

Installation

npm:

npm install eslint eslint-plugin-jira-ticket-todos --save-dev

yarn:

yarn add -D eslint eslint-plugin-jira-ticket-todos

It is also possible to install ESLint globally rather than locally (using npm install -g eslint). However, this is not recommended, and any plugins or shareable configs that you use must be installed locally in either case.

Configuration (legacy: .eslintrc*)

If you do not use a preset you will need to specify individual rules and add extra configuration.

Add "jira-ticket-todos" to the plugins section.

{
  "plugins": [
    "jira-ticket-todos"
  ]
}

Enable the rules that you would like to use.

{
  "rules": {
    "jira-ticket-todos/jira-ticket-todos": "error",
    "jira-ticket-todos/jira-ticket-todos": ["error", {"matchString": "TODO[:\-.]?", "ignoreCase":  true }]
  }
}

FAQs

Package last updated on 29 Mar 2023

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