1.1.0 • Published 11 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-devNext, install @atlassian/eslint-plugin-jira-event-checks:
$ npm install @atlassian/eslint-plugin-jira-event-checks --save-devNote: 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
0.0.1-alpha
11 months ago
1.1.0
2 years ago