{"library":"eslint-plugin-import-newlines","type":"library","category":null,"description":"ESLint plugin that enforces newlines in ES6 import statements when the number of imported specifiers exceeds a configurable threshold. The current stable version is 2.0.0, which requires ESLint >=10 and Node >=20.19.0. It provides a single rule 'import-newlines/enforce' that automatically splits multi-item imports across multiple lines when they exceed the limit, and conversely collapses single-line imports that are under the limit. Key differentiators: built-in autofix, integration with max-len and semicolon settings, and simple object-based configuration. No dependencies other than ESLint peer dependency.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","eslint","eslint-plugin","eslintplugin","lint","import"],"last_verified":"Wed May 27","install":[{"cmd":"npm install eslint-plugin-import-newlines","imports":["Add 'import-newlines' to the plugins array in your ESLint config","Configure rule in rules object as 'import-newlines/enforce': 'error' or ['error', options]"]},{"cmd":"yarn add eslint-plugin-import-newlines","imports":[]},{"cmd":"pnpm add eslint-plugin-import-newlines","imports":[]}],"homepage":null,"github":"https://github.com/SeinopSys/eslint-plugin-import-newlines","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/eslint-plugin-import-newlines","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-import-newlines/compatibility"}}