Skip to content

askui/eslint-plugin-askui

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published