4.1.0 • Published 2 months ago

@atlassian/eslint-plugin-module-checks v4.1.0

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
-
Last release
2 months ago

eslint-plugin-module-checks

Rules to check various aspects of your AMD or ES6 modules for correctness.

Configuration

First include the plugin with npm install @atlassian/eslint-plugin-module-checks, then include it in your ESLint config

{
    "plugins": [
        "@atlassian/module-checks"
    ],
    ...
}

Then enable the rules you want to use. For example:

Enable the rules that you would like to use, for example:

{
    "rules": {
        "module-checks/no-unused-deps": 2,
        "module-checks/no-unordered-deps": 1
    }
}

List of supported rules

List of borrowed rules

We borrow some rules from other ESLint plugins. They are listed below: