samhh / eslint-plugin-atlassian-webapis

Lint against harmful usages of Atlassian's web APIs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eslint-plugin-atlassian-webapis

Lints against harmful usage of Atlassian's web APIs, the scope of which currently extends to its REST APIs and JS API.

Installation

The plugin is available on the npm registry under the same package name: eslint-plugin-atlassian-webapis

ESLint is listed as a peer dependency.

Note that, as with other ESLint plugins, rules are prefixed with the plugin name (sans the eslint-plugin- prefix) as a form of namespacing. For example, to enable the no-unstable-api rule, you'd need to target atlassian-webapis/no-unstable-api in your config.

Rules

At present, this plugin provides one rule:

  • no-unstable-api: Disallow usage of unstable APIs.

About

Lint against harmful usages of Atlassian's web APIs.

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 79.7%Language:JavaScript 20.3%