From 9fc0a77a8355d8d5cdfb6f89f32620faf2fc9a7a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 21:51:13 +0000 Subject: [PATCH] Bump prettier from 3.1.1 to 3.2.2 (#31732) --- .markdownlint-cli2.jsonc | 4 +-- .markdownlint.jsonc | 56 ++++++++++++++++++++-------------------- package.json | 2 +- yarn.lock | 8 +++--- 4 files changed, 35 insertions(+), 35 deletions(-) diff --git a/.markdownlint-cli2.jsonc b/.markdownlint-cli2.jsonc index 5e01c3a409f01ec..892510a33078fcb 100644 --- a/.markdownlint-cli2.jsonc +++ b/.markdownlint-cli2.jsonc @@ -1,7 +1,7 @@ { "config": { - "extends": "./.markdownlint.jsonc" + "extends": "./.markdownlint.jsonc", }, "customRules": ["markdownlint-rule-search-replace"], - "ignores": ["node_modules", ".git", ".github", "tests"] + "ignores": ["node_modules", ".git", ".github", "tests"], } diff --git a/.markdownlint.jsonc b/.markdownlint.jsonc index 866cca31ba953ad..2ccae5139144109 100644 --- a/.markdownlint.jsonc +++ b/.markdownlint.jsonc @@ -7,29 +7,29 @@ // Disabled, as some callouts include headings. "heading-increment": false, "ul-style": { - "style": "dash" + "style": "dash", }, "ul-indent": { - "indent": 2 + "indent": 2, }, "no-hard-tabs": { - "spaces_per_tab": 2 + "spaces_per_tab": 2, }, "line-length": false, "no-duplicate-heading": { - "siblings_only": true + "siblings_only": true, }, "single-title": { - "front_matter_title": "^\\s*title\\s*[:=]" + "front_matter_title": "^\\s*title\\s*[:=]", }, "no-trailing-punctuation": { - "punctuation": ".,;:" + "punctuation": ".,;:", }, // Consecutive Notes/Callouts currently don't conform with this rule "no-blanks-blockquote": false, // Force ordered numbering to catch accidental list ending from indenting "ol-prefix": { - "style": "ordered" + "style": "ordered", }, "no-inline-html": { "allowed_elements": [ @@ -99,8 +99,8 @@ "thead", "tr", "ul", - "var" - ] + "var", + ], }, "no-bare-urls": false, // Produces too many false positives @@ -109,13 +109,13 @@ // See https://github.com/mdn/content/pull/20026, as macros currently break this "no-empty-links": false, "code-block-style": { - "style": "fenced" + "style": "fenced", }, "emphasis-style": { - "style": "underscore" + "style": "underscore", }, "strong-style": { - "style": "asterisk" + "style": "asterisk", }, // Disabled, as yari generates link fragments by replacing spaces with underscores, not dashes. "link-fragments": false, @@ -128,90 +128,90 @@ "message": "Don't use curly double quotes", "searchPattern": "/“|”/g", "replace": "\"", - "searchScope": "text" + "searchScope": "text", }, { "name": "curly-single-quotes", "message": "Don't use curly single quotes", "searchPattern": "/‘|’/g", "replace": "'", - "searchScope": "text" + "searchScope": "text", }, { "name": "nbsp", "message": "Don't use no-break spaces", "searchPattern": "/ /g", "replace": " ", - "searchScope": "all" + "searchScope": "all", }, { "name": "m-dash", "message": "Don't use '--'. Use m-dash — instead", "search": " -- ", "replace": " — ", - "searchScope": "text" + "searchScope": "text", }, { "name": "relative-link", "message": "Internal links should start with '/'", "searchPattern": "/([\\(\"])en-US\\/docs/g", "replace": "$1/en-US/docs", - "searchScope": "text" + "searchScope": "text", }, { "name": "relative-link-path", "message": "Don't use relative paths", "search": "](..", - "searchScope": "text" + "searchScope": "text", }, { "name": "trailing-spaces", "message": "Avoid trailing spaces", "searchPattern": "/ +$/gm", "replace": "", - "searchScope": "all" + "searchScope": "all", }, { "name": "double-spaces", "message": "Avoid double spaces", "searchPattern": "/([^\\s>]) ([^\\s|])/g", "replace": "$1 $2", - "searchScope": "text" + "searchScope": "text", }, { "name": "stuck-definition", "message": "Character is stuck to definition description marker", "searchPattern": "/- :(\\w)/g", "replace": "- : $1", - "searchScope": "text" + "searchScope": "text", }, { "name": "fqdn-moz-links", "message": "Don't use developer.mozilla.org for links, except for blog posts", "searchPattern": "/\\]\\(https:\\/\\/developer.mozilla.org\\/(?!en-US\\/blog\\/)/g", "replace": "](/", - "searchScope": "text" + "searchScope": "text", }, { "name": "incorrect-spelling", "message": "Incorrect spelling", "searchPattern": ["/e-mail/ig", "/(w)eb site/ig"], "replace": ["email", "$1ebsite"], - "searchScope": "all" + "searchScope": "all", }, { "name": "localhost-links", "message": "Don't use localhost for links", "searchPattern": "/\\]\\(https?:\\/\\/localhost:\\d+\\//g", "replace": "](/", - "searchScope": "text" + "searchScope": "text", }, { "name": "un-closed-md-link", "message": "Missing closing bracket ')'", "searchPattern": "/(\\[[^\\]]*?\\]\\(([^\\)\\n]|\\([^\\)\\n]\\)|\\s[\"'])+?)(\\n|\\s|[,:][\\s\\n])/gm", - "searchScope": "text" - } - ] - } + "searchScope": "text", + }, + ], + }, } diff --git a/package.json b/package.json index 411a5b9510119a0..7a62886481a3de1 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "lint-staged": "15.2.0", "markdownlint-cli2": "0.12.1", "markdownlint-rule-search-replace": "1.2.0", - "prettier": "3.1.1" + "prettier": "3.2.2" }, "devDependencies": { "jest": "^29.7.0" diff --git a/yarn.lock b/yarn.lock index f6890815063f270..5be4c8eb58d2286 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6249,10 +6249,10 @@ prepend-http@^2.0.0: resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897" integrity sha512-ravE6m9Atw9Z/jjttRUZ+clIXogdghyZAuWJ3qEzjT+jI/dL1ifAqhZeC5VHzQp1MSt1+jxKkFNemj/iO7tVUA== -prettier@3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.1.1.tgz#6ba9f23165d690b6cbdaa88cb0807278f7019848" - integrity sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw== +prettier@3.2.2: + version "3.2.2" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.2.2.tgz#96e580f7ca9c96090ad054616c0c4597e2844b65" + integrity sha512-HTByuKZzw7utPiDO523Tt2pLtEyK7OibUD9suEJQrPUCYQqrHr74GGX6VidMrovbf/I50mPqr8j/II6oBAuc5A== pretty-format@^29.7.0: version "29.7.0"