radian-software / apheleia

🌷 Run code formatter on buffer contents without moving point, using RCS patches and dynamic programming.
MIT License
523 stars 74 forks source link

Restructure and refactor apheleia package #215

Closed mohkale closed 9 months ago

mohkale commented 10 months ago

CLOSES #212

PR to restructure apheleia to make it more modular and improve some of the separation of concerns. Before merging we should make sure that we don't reintroduce the issues from #181.

raxod502 commented 10 months ago

Seems like a good idea!

mohkale commented 10 months ago

Should be good for review now. See each commit for a breakdown of the individual changes. The bulk of this is reorganisation but there are subsequent refactorings and bugfixes etc. No rush to review and merge.

raxod502 commented 9 months ago

I'll set lint (26) to no longer be a required check since this PR will be removing it. Feel free to merge at your leisure.