feat(eslint): Rule "no-else-return"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
		@@ -105,7 +105,7 @@
 | 
				
			|||||||
- [ ] "no-dupe-keys"
 | 
					- [ ] "no-dupe-keys"
 | 
				
			||||||
- [ ] "no-duplicate-case"
 | 
					- [ ] "no-duplicate-case"
 | 
				
			||||||
- [ ] "no-duplicate-imports"
 | 
					- [ ] "no-duplicate-imports"
 | 
				
			||||||
- [ ] "no-else-return"
 | 
					- [X] "no-else-return"
 | 
				
			||||||
- [X] "no-empty"
 | 
					- [X] "no-empty"
 | 
				
			||||||
- [ ] "no-empty-character-class"
 | 
					- [ ] "no-empty-character-class"
 | 
				
			||||||
- [ ] "no-empty-function"
 | 
					- [ ] "no-empty-function"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -218,6 +218,12 @@
 | 
				
			|||||||
  "no-debugger": [
 | 
					  "no-debugger": [
 | 
				
			||||||
    "warn"
 | 
					    "warn"
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
 | 
					  "no-else-return": [
 | 
				
			||||||
 | 
					    "error",
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					      "allowElseIf": false
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  ],
 | 
				
			||||||
  "no-empty": [
 | 
					  "no-empty": [
 | 
				
			||||||
    "warn",
 | 
					    "warn",
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user