We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
const arr = [ 1, // 2, 3, ];
When commenting on the item in the middle of the array, an error will occur during formatting:
Error: Found comma but its following sibling is not a line: undefined at prettier-plugin-multiline-arrays/dist/printer/insert-new-lines.js:234:39
The text was updated successfully, but these errors were encountered:
Thanks for the report! I'll take a look.
Sorry, something went wrong.
Same too :) looks like plugin will fail when there is comment inside array
Sometimes errors message a little different:
"prettier": "3.3.3", "prettier-plugin-multiline-arrays": "3.0.6",
electrovir
No branches or pull requests
When commenting on the item in the middle of the array, an error will occur during formatting:
The text was updated successfully, but these errors were encountered: