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.

/eslint-plugin-no-loops/

    Package Sidebar

    Install

    npm i eslint-plugin-no-loops

    Weekly Downloads

    25,472

    Version

    0.3.0

    License

    MIT

    Last publish

    Collaborators

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