Skip to content

Commit 3a5b522

Browse files
authored
chore: update markdownlint (#7573)
1 parent ca8065c commit 3a5b522

File tree

6 files changed

+285
-302
lines changed

6 files changed

+285
-302
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div align="center">
22
<a href="https://github.com/webpack/webpack">
3-
<img width="200" height="200" src="https://webpack.js.org/assets/icon-square-big.svg" />
3+
<img width="200" height="200" src="https://webpack.js.org/assets/icon-square-big.svg" alt="webpack logo" />
44
</a>
55
<h1>webpack.js.org</h1>
66

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@
8585
"@pmmmwh/react-refresh-webpack-plugin": "next",
8686
"@svgr/webpack": "^8.1.0",
8787
"autoprefixer": "^10.4.21",
88-
"babel-loader": "^9.2.1",
89-
"copy-webpack-plugin": "^12.0.2",
88+
"babel-loader": "^10.0.0",
89+
"copy-webpack-plugin": "^13.0.0",
9090
"css-loader": "^7.1.2",
9191
"css-minimizer-webpack-plugin": "^7.0.2",
9292
"cypress": "^13.16.0",
@@ -98,7 +98,7 @@
9898
"eslint-plugin-cypress": "^4.2.0",
9999
"eslint-plugin-mdx": "^3.2.0",
100100
"eslint-plugin-react": "^7.37.2",
101-
"eslint-plugin-react-hooks": "^5.1.0",
101+
"eslint-plugin-react-hooks": "^5.2.0",
102102
"front-matter": "^4.0.2",
103103
"github-slugger": "^2.0.0",
104104
"globals": "^15.13.0",
@@ -107,10 +107,10 @@
107107
"husky": "^9.1.7",
108108
"hyperlink": "^5.0.4",
109109
"jest": "^29.7.0",
110-
"lightningcss": "^1.28.2",
111-
"lint-staged": "^15.2.10",
110+
"lightningcss": "^1.29.2",
111+
"lint-staged": "^15.4.3",
112112
"lodash": "^4.17.21",
113-
"markdownlint-cli": "^0.43.0",
113+
"markdownlint-cli": "^0.44.0",
114114
"mdast-util-to-string": "^4.0.0",
115115
"mini-css-extract-plugin": "^2.9.2",
116116
"mkdirp": "^3.0.1",
@@ -166,6 +166,6 @@
166166
"sitemap-static/minimist": "1.2.5",
167167
"ini": "1.3.7",
168168
"eval": "^0.1.5",
169-
"markdownlint-cli/markdownlint": "^0.27.0"
169+
"markdownlint-cli/markdownlint": "^0.37.4"
170170
}
171171
}

src/content/configuration/devtool.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ T> Instead of using the `devtool` option you can also use `SourceMapDevToolPlugi
3838
| `eval-cheap-source-map` | **build**: ok<br /><br />**rebuild**: fast | no | transformed | Tradeoff choice for development builds. |
3939
| `eval-cheap-module-source-map` | **build**: slow<br /><br />**rebuild**: fast | no | original lines | Tradeoff choice for development builds. |
4040
| **`eval-source-map`** | **build**: slowest<br /><br />**rebuild**: ok | no | original | Recommended choice for development builds with high quality SourceMaps. |
41-
| `cheap-source-map` | **build**: ok<br /><br />**rebuild**: slow | no | transformed |
42-
| `cheap-module-source-map` | **build**: slow<br /><br />**rebuild**: slow | no | original lines |
41+
| `cheap-source-map` | **build**: ok<br /><br />**rebuild**: slow | no | transformed | |
42+
| `cheap-module-source-map` | **build**: slow<br /><br />**rebuild**: slow | no | original lines | |
4343
| **`source-map`** | **build**: slowest<br /><br />**rebuild**: slowest | yes | original | Recommended choice for production builds with high quality SourceMaps. |
44-
| `inline-cheap-source-map` | **build**: ok<br /><br />**rebuild**: slow | no | transformed |
45-
| `inline-cheap-module-source-map` | **build**: slow<br /><br />**rebuild**: slow | no | original lines |
44+
| `inline-cheap-source-map` | **build**: ok<br /><br />**rebuild**: slow | no | transformed | |
45+
| `inline-cheap-module-source-map` | **build**: slow<br /><br />**rebuild**: slow | no | original lines | |
4646
| `inline-source-map` | **build**: slowest<br /><br />**rebuild**: slowest | no | original | Possible choice when publishing a single file |
4747
| `eval-nosources-cheap-source-map` | **build**: ok<br /><br />**rebuild**: fast | no | transformed | source code not included |
4848
| `eval-nosources-cheap-module-source-map` | **build**: slow<br /><br />**rebuild**: fast | no | original lines | source code not included |

src/content/contribute/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ The people who contribute to webpack do so for the love of open source, our user
2323
<img
2424
src="https://opencollective.com/webpack/donate/button@2x.png?color=blue"
2525
width={300}
26+
alt="Donate to webpack"
2627
/>
2728
</a>
2829

src/content/guides/package-exports.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -200,18 +200,18 @@ One of these conditions is set depending on the syntax used to reference the mod
200200
| --------- | ----------------------------------------------------------------- | -------------------------------------------------------------------- |
201201
| `import` | Request is issued from ESM syntax or similar. | Node.js, webpack, rollup, esinstall<sup>(1)</sup>, wmr<sup>(1)</sup> |
202202
| `require` | Request is issued from CommonJs/AMD syntax or similar. | Node.js, webpack, rollup, esinstall<sup>(1)</sup>, wmr<sup>(1)</sup> |
203-
| `style` | Request is issued from a stylesheet reference. |
204-
| `sass` | Request is issued from a sass stylesheet reference. |
205-
| `asset` | Request is issued from a asset reference. |
206-
| `script` | Request is issued from a normal script tag without module system. |
203+
| `style` | Request is issued from a stylesheet reference. | |
204+
| `sass` | Request is issued from a sass stylesheet reference. | |
205+
| `asset` | Request is issued from a asset reference. | |
206+
| `script` | Request is issued from a normal script tag without module system. | |
207207

208208
These conditions might also be set additionally:
209209

210210
| Condition | Description | Supported by |
211211
| ----------- | ------------------------------------------------------------------------------------------------------------------- | -------------------- |
212212
| `module` | All module syntax that allows to reference javascript supports ESM.<br />(only combined with `import` or `require`) | webpack, rollup, wmr |
213213
| `esmodules` | Always set by supported tools. | wmr |
214-
| `types` | Request is issued from typescript that is interested in type declarations. |
214+
| `types` | Request is issued from typescript that is interested in type declarations. | |
215215

216216
(1) `import` and `require` are both set independent of referencing syntax. `require` has always lower priority.
217217

@@ -327,8 +327,8 @@ The following tools support custom conditions:
327327
| Node.js | yes | Use [`--conditions`](https://nodejs.org/api/cli.html#cli_c_condition_conditions_condition) CLI argument. |
328328
| webpack | yes | Use [`resolve.conditionNames`](/configuration/resolve/#resolveconditionnames) configuration option. |
329329
| rollup | yes | Use `exportConditions` option for `@rollup/plugin-node-resolve` |
330-
| esinstall | no |
331-
| wmr | no |
330+
| esinstall | no | |
331+
| wmr | no | |
332332

333333
For custom conditions the following naming schema is recommended:
334334

0 commit comments

Comments
 (0)