Skip to content

joeyparis/eslint-plugin-should-skip-update

Repository files navigation

eslint-plugin-should-skip-update

Eslint plugin for making sure all used prop values are listed in the shouldSkipUpdate memo function argument for should-skip-update.

Installation

npm intsall --save-dev eslint-plugin-should-skip-update

or

yarn add -D eslint-plugin-should-skip-update

Usage

Add to your eslint configuration plugins:

{
    ...
    plugins: [...other_plugins, 'should-skip-update'],
    ...
}

Enable the rule in your eslint configuration:

{
    ...
    rules: {
        ...other_rules,
        'should-skip-update/dependencies': 1
    }
}

See should-skip-update for more information.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published