From 1015626e41dc168ff8c771294c248296ce08878d Mon Sep 17 00:00:00 2001 From: maropboia <164220066+maropboia@users.noreply.github.com> Date: Fri, 3 May 2024 11:38:23 +0600 Subject: [PATCH] comment --- .prettierrc.yaml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.prettierrc.yaml b/.prettierrc.yaml index 88e0a1580..7e8e7fd6f 100644 --- a/.prettierrc.yaml +++ b/.prettierrc.yaml @@ -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.