prettier-vscode
prettier-vscode copied to clipboard
singleAttributePerLine not working
Summary
setting singleAttributePerLine
to true does not have any effect.
Steps To Reproduce:
- Your .prettierrc looks like this:
{
"singleQuote": true,
"printWidth": 200,
"semi": true,
"useTabs": false,
"trailingComma": "none",
"arrowParens": "avoid",
"tabWidth": 4,
"singleAttributePerLine": true
}
- Create some HTML file with lots of attributes per node
Expected result
Each attribute gets put on a separate line
Actual result
Attributes get squished into a single line
Additional information
VS Code Version:
1.67.2
Prettier Extension Version:
9.5.0
Prettier Library Version:
2.6.2
OS and version:
Mac Monterey, 12.3.1
Affects me too
delete this "printWidth": 200 try again
Not working for me too, option is not reconized
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.