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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.0
    24,694
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.3.0
    24,694
  • 0.2.0
    0
  • 0.1.1
    0
  • 0.1.0
    3

Package Sidebar

Install

npm i eslint-plugin-no-loops

Weekly Downloads

24,697

Version

0.3.0

License

MIT

Last publish

Collaborators

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