Extends eslint by rules specific for uuApp.
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-uuapp:
$ npm install eslint-plugin-uuapp --save-dev
Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-uuapp globally.
Add uuapp to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"uuapp"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"uuapp/rule-name": 2
}
}- uuapp/no-empty-scenario-comments - enforces using text description for HDS a A* comments