Skip to content
ESLint rule for check easy infinite loop.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/rules
tests/lib/rules
.eslintrc.js
.gitignore
LICENSE
README.md
index.js
package.json

README.md

eslint-plugin-no-hyogo-police

ESLint rule for check easy infinite loop.

Installation

npm install --save-dev eslint eslint-plugin-no-hyogo-police

Usage

Add no-hyogo-police to the plugins section of your .eslintrc.js configuration file.

{
  "plugins": [
    "no-hyogo-police"
  ]
}

Then configure the rules

{
  "rules": {
    "no-hyogo-police/infinite-loop": "error"
  }
}

or use recommended rule set

{
  "extends": ["plugin:no-hyogo-police/recommended]
}

Why Hyogo Police

https://www.itmedia.co.jp/news/articles/1903/05/news080.html (Google Translate)

You can’t perform that action at this time.