electrovir / prettier-plugin-multiline-arrays

Prettier plugin to force array elements to wrap onto new lines.
https://www.npmjs.com/package/prettier-plugin-multiline-arrays
Creative Commons Zero v1.0 Universal
135 stars 6 forks source link

Prettier v3 support #27

Closed electrovir closed 10 months ago

electrovir commented 1 year ago

Trying to add support for Prettier v3 #26

electrovir commented 1 year ago

Quick test command for debugging: npm test src/test/typescript.test.ts -- --parallel=false

tthornton3-chwy commented 11 months ago

https://github.com/electrovir/prettier-plugin-multiline-arrays/pull/28 should hopefully pick up where this left off :) Thanks @electrovir and @richardsimko !

The biggest "gotcha" was they moved avoidAstMutation: true from within handleComments to the printer itself!

electrovir commented 10 months ago

closed in favor of #28