{"library":"prettier-plugin-sort-re-exports","title":"Prettier Plugin Sort Re-exports","description":"Prettier plugin (v0.1.0) that sorts re-export statements by source path, ideal for barrel files. It groups re-exports separated by blank lines or comments and sorts each group independently. Requires Node >=18 and Prettier ^3. Unlike general export sorting plugins, this focuses only on re-exports and preserves group structure. Currently young with potential breaking changes in future versions.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install prettier-plugin-sort-re-exports"],"cli":null},"imports":[],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// No import needed – add to .prettierrc\n// Install: npm install --save-dev prettier-plugin-sort-re-exports\n// .prettierrc\n{\n  \"plugins\": [\"prettier-plugin-sort-re-exports\"]\n}\n\n// Then run prettier --write on your files\n// Example barrel file (index.js):\nexport { b } from \"./a/bar\";\nexport { c } from \"./a/baz\";\nexport { a } from \"./a/foo\";","lang":"javascript","description":"Install plugin, configure in .prettierrc, and run Prettier to sort re-exports by source path.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}