Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
eslint-plugin-jira-ticket-todo-comment
Advanced tools
Checks TODO comments and informs about missing Jira ticket mentions
Checks TODO comments and informs about missing Jira ticket mentions
npm install eslint-plugin-jira-ticket-todo-comment --save-dev
Add jira-ticket-todo-comment
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"jira-ticket-todo-comment"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"jira-ticket-todo-comment/jira-ticket-todo-comment": "error"
}
}
This rule aims to enforce consistent style of TODO comments making it easier for developer teams to quickly see if a TODO comment is already in JIRA.
This rule has an optional object option.
"projectKey": "TP"
(default MP
) sets a specific project key which is used in your JIRA project; when not provided the rule will check against the default regex; can NOT be set together with "regex"
option{
"rules": {
"jira-ticket-todo-comment/jira-ticket-todo-comment": ["error", { "projectKey": "TP" }]
}
}
"regex": "^TODO\\s[A-Z]_[A-Z]{1,9}-\\d+\\s?.*"
(default ^TODO\\s[A-Z]{2,255}-\\d+(\\s.*)?
) allows you to override the default regex which is used to check for the JIRA ticket format; can NOT be set together with "projectKey"
option{
"rules": {
"jira-ticket-todo-comment/jira-ticket-todo-comment": ["error", { "regex": "^TODO\\s[A-Z]_[A-Z]{1,9}-\\d+\\s?.*" }]
}
}
1.0.1
FAQs
Checks TODO comments and informs about missing Jira ticket mentions
The npm package eslint-plugin-jira-ticket-todo-comment receives a total of 3,369 weekly downloads. As such, eslint-plugin-jira-ticket-todo-comment popularity was classified as popular.
We found that eslint-plugin-jira-ticket-todo-comment demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.