BO 自定义 规则
npm install eslint-plugin-webull-omni-boBO 自定义 规则
You'll first need to install ESLint:
``sh`
npm i eslint --save-dev
Next, install eslint-plugin-webull-omni-bo:
`sh`
npm install eslint-plugin-webull-omni-bo --save-dev
Add webull-omni-bo to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
`json`
{
"plugins": ["webull-omni-bo"]
}
Then configure the rules you want to use under the rules section.
`json``
{
"rules": {
"webull-omni-bo/rule-name": 2
}
}
TODO: Run eslint-doc-generator to generate the rules list.