1.0.1 • Published 7 years ago

eslint-plugin-bbb v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
7 years ago

eslint-plugin-bbb

An eslint plugin for bbb-HTML5 client

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-bbb:

$ npm install eslint-plugin-bbb --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-bbb globally.

Usage

Add bbb to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "bbb"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "bbb/no-service-import-component": 2
    }
}

Supported Rules

  • no-service-import-component