Replies: 1 comment
-
@FASAST Just saw this question. We use prettier for the inbuilt beautifier. See https://prettier.io/docs/en/configuration.html . However, we do not yet support config files in the project folder. // Options that control how Beautify Code works
"beautify.options": {
// Put the > of a multi-line HTML (HTML, JSX, Vue, Angular) element at the end of the last line instead of being alone on the next line (does not apply to self closing elements)
"bracketSameLine": true,
// Specify the line length that beautifier will wrap on
"printWidth": 80,
// Wrap prose if it exceeds the print width in markdown files
"proseWrap": "always",
// Change when properties in objects are quoted
"quoteProps": "as-needed",
// Add a semicolon at the end of every statement
"semi": true,
// Enforce single attribute per line in HTML, Vue and JSX
"singleAttributePerLine": false,
// Use single quotes instead of double quotes
"singleQuote": false,
// Print trailing commas wherever possible in multi-line comma-separated syntactic structures
"trailingComma": "none"
}, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I added a .jsbeautifyrc in the project root as in brackets but it's not working.
Beta Was this translation helpful? Give feedback.
All reactions