1.1.0 • Published 3 months ago
@atlassian/eslint-plugin-jira-event-checks v1.1.0
eslint-plugin-jira-event-checks
Checks for Jira's various events and for instances of binding to or triggering them.
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install @atlassian/eslint-plugin-jira-event-checks
:
$ npm install @atlassian/eslint-plugin-jira-event-checks --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install @atlassian/eslint-plugin-jira-event-checks
globally.
Usage
Add @atlassian/jira-event-checks
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["@atlassian/jira-event-checks"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"jira-event-checks/rule-name": 2
}
}
Supported Rules
no-newcontentadded-handlers
1.1.0
3 months ago