mirror of
https://github.com/fmhy/edit.git
synced 2026-02-18 09:11:33 +11:00
comment
This commit is contained in:
parent
404e4dce98
commit
1015626e41
1 changed files with 12 additions and 6 deletions
|
|
@ -1,6 +1,12 @@
|
|||
proseWrap: always
|
||||
semi: false
|
||||
singleQuote: true
|
||||
printWidth: 80
|
||||
trailingComma: none
|
||||
htmlWhitespaceSensitivity: ignore
|
||||
// This is a JavaScript code format configuration using the prettier plugin.
|
||||
// It specifies various formatting options such as wrapping prose (proseWrap),
|
||||
// use of semicolons (semi), single or double quotes (singleQuote),
|
||||
// print width (printWidth), trailing commas (trailingComma),
|
||||
// and handling of HTML whitespace sensitivity (htmlWhitespaceSensitivity).
|
||||
|
||||
proseWrap: 'always' // Always wrap prose to the next line if it exceeds the print width.
|
||||
semi: false // Do not use semicolons to end statements.
|
||||
singleQuote: true // Use single quotes to enclose strings.
|
||||
printWidth: 80 // Limit line length to 80 characters.
|
||||
trailingComma: 'none' // Do not use trailing commas in arrays or objects.
|
||||
htmlWhitespaceSensitivity: 'ignore' // Ignore changes in whitespace sensitivity in HTML.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue