ITADN

🐛 Bug: prettier-plugin-sentences-per-line causes line break after "e.g." and "vs."

#804Closedmichaelfaith 创建于 2025-12-07
status: accepting prstype: bug
M
michaelfaithcommented
### Bug Report Checklist - [x] I have tried restarting my IDE and the issue persists. - [x] I have pulled the latest `main` branch of the repository. - [x] I have [searched for related issues](https://github.com/JoshuaKGoldberg/sentences-per-line/issues?q=is%3Aissue) and found none that matched my issue. ### Overview While adding `prettier-plugin-sentences-per-line` to `eslint-plugin-package-json`, I found that it caused new lines to be added after "e.g.". https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/1440/files#diff-d343cf106d1ad6dbd569daa3848325c05b542366739c338779bed47e1421c30aR9-R10 <img width="244" height="102" alt="screenshot of line break" src="https://github.com/user-attachments/assets/10be5489-679e-4c8e-bee8-39baf0d7f2ff" /> ### Additional Info v0.1.0
关闭于 2025-12-19 9 条评论