An ESLint plugin (v1.1.7) providing rules to enforce proper usage of index.js files in Node.js projects. Includes two rules: `only-import-export` (allows only import/export statements in index files) and `forbid` (disallows files named index). Supports ESLint 7 or 8. Recommended for projects wanting to enforce index file conventions. Niche, simple, minimal overhead. Not updated frequently.
Verified import paths — ran on the pinned version, not inferred.
ESLint automatically strips 'eslint-plugin-' prefix when loading plugins from node_modules.
Extending plugin configs requires 'plugin:' prefix.
Rule name must include plugin namespace prefix 'index/'.
Rule name must include plugin namespace prefix 'index/'.
Install the plugin, enable recommended rules, and optionally enable the forbid rule.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.