feat(eslint): Rule "no-constant-condition"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
		| @@ -92,7 +92,7 @@ | ||||
| - [ ] "no-confusing-arrow" | ||||
| - [X] "no-console" | ||||
| - [ ] "no-const-assign" | ||||
| - [ ] "no-constant-condition" | ||||
| - [X] "no-constant-condition" | ||||
| - [ ] "no-constructor-return" | ||||
| - [ ] "no-continue" | ||||
| - [ ] "no-control-regex" | ||||
|   | ||||
| @@ -194,6 +194,12 @@ | ||||
|   "no-console": [ | ||||
|     "warn" | ||||
|   ], | ||||
|   "no-constant-condition": [ | ||||
|     "error", | ||||
|     { | ||||
|       "checkLoops": true | ||||
|     } | ||||
|   ], | ||||
|   "no-debugger": [ | ||||
|     "warn" | ||||
|   ], | ||||
|   | ||||
		Reference in New Issue
	
	Block a user