{"library":"eslint-plugin-index","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.1.7","tags":["javascript","eslint","eslintplugin","eslint-plugin","index"],"last_verified":"Wed May 27","install":[{"cmd":"npm install eslint-plugin-index","imports":["// in .eslintrc: { \"plugins\": [\"index\"] }","// in .eslintrc: { \"extends\": [\"plugin:index/recommended\"] }","// in .eslintrc rules: { \"index/only-import-export\": \"error\" }","// in .eslintrc rules: { \"index/forbid\": \"error\" }"]},{"cmd":"yarn add eslint-plugin-index","imports":[]},{"cmd":"pnpm add eslint-plugin-index","imports":[]}],"homepage":null,"github":"https://github.com/artlaman/eslint-plugin-index","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/eslint-plugin-index","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-index/compatibility"}}