Skip to content

Commit ff4dc3d

Browse files
authored
chore: Fixes for Prettier 3 7 1 (mdn#42152)
1 parent 774a810 commit ff4dc3d

File tree

7 files changed

+15
-17
lines changed

7 files changed

+15
-17
lines changed

files/en-us/glossary/character_reference/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ A very small subset of useful named character references along with their unicod
3737
| | ` ` | U+000A0 |
3838
|| `–` | U+02013 |
3939
|| `—` | U+02014 |
40-
| © | `©` | U+000A9 |
41-
| ® | `®` | U+000AE |
42-
|| `™` | U+02122 |
40+
| © | `©` | U+000A9 |
41+
| ® | `®` | U+000AE |
42+
| | `™` | U+02122 |
4343
|| `≈` | U+02248 |
4444
|| `≠` | U+02260 |
4545
| £ | `£` | U+000A3 |

files/en-us/web/css/reference/properties/content/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,7 @@ This example is useful for print stylesheets. It uses an [attribute selector](/e
299299
#### CSS
300300

301301
```css
302-
a[href^="https://"]::after
303-
{
302+
a[href^="https://"]::after {
304303
content: " (URL: " attr(href) ")";
305304
color: darkgreen;
306305
}

files/en-us/web/css/reference/properties/pointer-events/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,7 @@ This example disables pointer events on the link to `http://example.com`.
170170
#### CSS
171171

172172
```css
173-
a[href="http://example.com"]
174-
{
173+
a[href="http://example.com"] {
175174
pointer-events: none;
176175
}
177176
```

files/en-us/web/css/reference/selectors/attribute_selectors/index.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ a[title] {
1717
}
1818

1919
/* <a> elements with an href matching "https://example.org" */
20-
a[href="https://example.org"]
21-
{
20+
a[href="https://example.org"] {
2221
color: green;
2322
}
2423

@@ -111,8 +110,7 @@ a[href$=".org"] {
111110
}
112111

113112
/* Links that start with "https://" and end in ".org" */
114-
a[href^="https://"][href$=".org"]
115-
{
113+
a[href^="https://"][href$=".org"] {
116114
color: green;
117115
}
118116
```

files/en-us/web/javascript/reference/statements/import/with/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ The attributes syntax is designed to be extensible — although only `type` is s
8787
- Resolution: the attribute is part of the module specifier (the string in the `from` clause). Therefore, given the same string path, different attributes may lead to entirely different modules being loaded. For example, [TypeScript supports the `resolution-mode` attribute](https://devblogs.microsoft.com/typescript/announcing-typescript-5-3/#stable-support-resolution-mode-in-import-types).
8888

8989
```ts
90-
import type { TypeFromRequire } from "pkg" with { "resolution-mode": "require" };
90+
import type { TypeFromRequire } from "pkg" with {
91+
"resolution-mode": "require",
92+
};
9193
```
9294

9395
- Fetching: for example, CSS modules are fetched with the [`destination`](/en-US/docs/Web/API/Request/destination) set to `"style"`, and JSON modules are fetched with `destination: "json"`. This means given the same destination URL, the server may still return different content.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"markdownlint-rule-search-replace": "1.2.0",
7777
"node-html-parser": "^7.0.1",
7878
"parse-diff": "^0.11.1",
79-
"prettier": "3.6.2",
79+
"prettier": "3.7.1",
8080
"tempy": "^3.1.0",
8181
"yaml": "^2.8.1",
8282
"yargs": "^18.0.0"

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4978,10 +4978,10 @@ prepend-http@^2.0.0:
49784978
resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897"
49794979
integrity sha512-ravE6m9Atw9Z/jjttRUZ+clIXogdghyZAuWJ3qEzjT+jI/dL1ifAqhZeC5VHzQp1MSt1+jxKkFNemj/iO7tVUA==
49804980

4981-
prettier@3.6.2, prettier@^3.2.5:
4982-
version "3.6.2"
4983-
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.6.2.tgz#ccda02a1003ebbb2bfda6f83a074978f608b9393"
4984-
integrity sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==
4981+
prettier@3.7.1, prettier@^3.2.5:
4982+
version "3.7.1"
4983+
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.7.1.tgz#8dfbf54c98e85a113962d3d8414ae82ff3722991"
4984+
integrity sha512-RWKXE4qB3u5Z6yz7omJkjWwmTfLdcbv44jUVHC5NpfXwFGzvpQM798FGv/6WNK879tc+Cn0AAyherCl1KjbyZQ==
49854985

49864986
pretty-ms@^9.0.0:
49874987
version "9.2.0"

0 commit comments

Comments
 (0)