An eslint plugin for bbb-HTML5 client
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.
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
}
}
- no-service-import-component