{"library":"eslint-plugin-no-function-declare-after-return","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.1.0","tags":["javascript","eslint","eslint-plugin","eslintplugin","function","declaration","after","return"],"last_verified":"Wed May 27","install":[{"cmd":"npm install eslint-plugin-no-function-declare-after-return","imports":["// In .eslintrc: { \"plugins\": [\"no-function-declare-after-return\"], \"rules\": { \"no-function-declare-after-return/no-function-declare-after-return\": \"error\" } }","import noFunctionDeclareAfterReturn from 'eslint-plugin-no-function-declare-after-return';\nexport default [noFunctionDeclareAfterReturn.configs.recommended];","const plugin = require('eslint-plugin-no-function-declare-after-return');\n// In .eslintrc: plugins: [\"no-function-declare-after-return\"], rules: { ... }"]},{"cmd":"yarn add eslint-plugin-no-function-declare-after-return","imports":[]},{"cmd":"pnpm add eslint-plugin-no-function-declare-after-return","imports":[]}],"homepage":null,"github":"https://github.com/bhumijgupta/eslint-plugin-no-function-declare-after-return","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/eslint-plugin-no-function-declare-after-return","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/eslint-plugin-no-function-declare-after-return/compatibility"}}