eslint-plugin-todo-plz
Advanced tools
Comparing version 1.0.2 to 1.1.0
@@ -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 @@ |
{ | ||
"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 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3452
80