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

eslint-plugin-todo-plz

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-todo-plz - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

5

lib/rules/ticket-ref.js

@@ -39,3 +39,6 @@ /**

terms.forEach((term) => {
termSearchPatterns[term] = new RegExp(`${term}\\s?\\(${pattern}\\)`, "i");
termSearchPatterns[term] = new RegExp(
`${term}\\s?\\((${pattern}[,\\s]*)+\\)`,
"i"
);
});

@@ -42,0 +45,0 @@

2

package.json
{
"name": "eslint-plugin-todo-plz",
"version": "1.0.2",
"version": "1.1.0",
"description": "Enforce consistent and maintainable TODO comments",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -34,3 +34,3 @@ # eslint-plugin-todo-plz

"rules": {
"todo-plz/ticket-ref": ["error", { "pattern": "ABC-[0-9]+" }]
"todo-plz/ticket-ref": ["error", { "pattern": "PROJ-[0-9]+" }]
}

@@ -37,0 +37,0 @@ }

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