prettier-plugin-multiline-arrays
prettier-plugin-multiline-arrays copied to clipboard
Prettier plugin to force array elements to wrap onto new lines.
```ts const arr = [ 1, // 2, 3, ]; ``` When commenting on the item in the middle of the array, an error will occur during formatting: ```sh Error:...
Hi, thanks for the awesome plugin, but I noticed a strange behavior when trailingComma is 'none' .prettierrc ``` { printWidth: 120, tabWidth: 4, useTabs: false, singleQuote: true, trailingComma: 'none', //
I have files I'm trying to generate, and then prettier, so I use this plugin via prettier API not CLI. But I have tested this via CLI too, and it...
needs further investigation when I have time