1.0.0 • Published 5 years ago

eslint-plugin-no-hyogo-police v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

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)