eslint-plugin-no-function-declare-after-return

JSON →
library 1.1.0 ·javascript
verified May 27, 2026

An ESLint plugin that enforces a code style rule disallowing function declarations after a return statement within the same scope. Version 1.1.0 is the latest stable release, with auto-fix support added in this version. The plugin is mature, actively maintained, and has no known security issues. It differs from ESLint's built-in no-unreachable rule by focusing specifically on hoisted function declarations after return, which are syntactically valid but harm readability. The plugin is lightweight with zero runtime dependencies besides ESLint.

total hits 13
actors 5 distinct systems
last hit 3d ago Bingbot
MetaBot
4
GPTBot
2
Script
1
Search engines
1
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇵🇰 Pakistan · 🇩🇪 Germany · 🇬🇧 United Kingdom