zeux / meshoptimizer

Mesh optimization library that makes meshes smaller and faster to render
MIT License
5.49k stars 473 forks source link

Integrate Prettier for all JS source #725

Closed zeux closed 1 month ago

zeux commented 1 month ago

This is a second attempt after #717; with a printWidth of 150 the only module that's really affected by excessive line breaks is the simplifier where attribute simplification has decidedly too many arguments. That said, the code seems fairly readable without Prettier-specific adjustments. Using printWidth 120 regresses decoder post-gzip size by 1% so for now we'll settle on 150.