@edgeros/eslint-plugin-jsre

0.1.0 • Public • Published

eslint-plugin-jsre

ESLint plugin for EdgerOS JSRE (JavaScript Runtime Environment).

This plugin provides environment @edgeros/jsre/env to define global variables inside JSRE.

Usage

  1. Install the package
npm install @edgeros/eslint-plugin-jsre --save-dev
  1. Add @edgeros/jsre to the plugins section of your .eslintrc.
    The eslint-plugin- prefix might be omitted below:
{
    "plugins": [
        "@edgeros/eslint-plugin-jsre"
    ]
}
  1. Add @edgeros/jsre/env to the env section of your .eslintrc.
    The eslint-plugin- prefix has to be omitted below:
{
    "env": {
        "@edgeros/jsre/env": true
    }
}

Readme

Keywords

Package Sidebar

Install

npm i @edgeros/eslint-plugin-jsre

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

2.44 kB

Total Files

4

Last publish

Collaborators

  • clarkttfu
  • fu-starslights
  • epmbot
  • xieyuanbin
  • chengyonbin