Move away from Scalariform
errt opened this issue · 1 comments
errt commented
The Scalariform formatter hasn't been updated for 4 years now. It doesn't support new Scala 3 syntax and thus is a roadblock for future development of OPAL.
Suggested steps:
- Move to Scalafmt, which seems to be the only Scala formatter that is still actively maintained, and integrate it into our CI
- Try to create a Scalafmt config that closely matches our current formatting so we don't have to reformat too much
- Investigate whether Scalafmt features allow for better formatting in some cases (Scalafmt seems to be much more capable than Scalariform)
- Revisit old decisions on formatting, maybe some can be improved