eslint-plugin-no-loops

    0.3.0 • Public • Published

    eslint-plugin-no-loops

    It's 2016 and you still use loops?

    Build Status npm

    Installation

    npm install --save-dev eslint-plugin-no-loops

    Usage

    In your .eslintrc:

    {
      "plugins": [
        "no-loops"
      ],
      "rules": {
        "no-loops/no-loops": 2
      }
    }

    Rule

    Disallow use of loops (for, for-in, while, do-while).

    Why

    You don't need them.

    Keywords

    none

    Install

    npm i eslint-plugin-no-loops

    DownloadsWeekly Downloads

    15,784

    Version

    0.3.0

    License

    MIT

    Last publish

    Collaborators

    • federico.ercoles
    • gabro
    • veej
    • giogonzo
    • tpetrucciani
    • aslug
    • malpenzibo