@askui/eslint-plugin-askui
v1.3.1
Published
Validate correct usage of askui library
Downloads
38
Readme
eslint-plugin-askui
Validate correct usage of askui library
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install @askui/eslint-plugin-askui
:
npm install @askui/eslint-plugin-askui --save-dev
Usage
Add @askui/askui
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"@askui/askui"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"@askui/askui/no-missing-exec": "error",
"@askui/askui/expect": "error"
}
}
Rules
| Name | | :----------------------------------------------- | | expect | | no-missing-exec |