eslint-plugin-no-argument-spread

0.0.1 • Public • Published

eslint-plugin-no-argument-spread

Show warning when someone uses the spread operator for function arguments.

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-no-argument-spread:

npm install eslint-plugin-no-argument-spread --save-dev

Usage

Add no-argument-spread to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "no-argument-spread"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "no-argument-spread/rule-name": 2
    }
}

/eslint-plugin-no-argument-spread/

    Package Sidebar

    Install

    npm i eslint-plugin-no-argument-spread

    Weekly Downloads

    2,010

    Version

    0.0.1

    License

    ISC

    Unpacked Size

    5.58 kB

    Total Files

    7

    Last publish

    Collaborators

    • lukas1994