Skip to content

chore: update markdownlint #7573

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div align="center">
<a href="https://github.com/webpack/webpack">
<img width="200" height="200" src="https://webpack.js.org/assets/icon-square-big.svg" />
<img width="200" height="200" src="https://webpack.js.org/assets/icon-square-big.svg" alt="webpack logo" />
</a>
<h1>webpack.js.org</h1>

Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@
"@pmmmwh/react-refresh-webpack-plugin": "next",
"@svgr/webpack": "^8.1.0",
"autoprefixer": "^10.4.21",
"babel-loader": "^9.2.1",
"copy-webpack-plugin": "^12.0.2",
"babel-loader": "^10.0.0",
"copy-webpack-plugin": "^13.0.0",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.2",
"cypress": "^13.16.0",
Expand All @@ -98,7 +98,7 @@
"eslint-plugin-cypress": "^4.2.0",
"eslint-plugin-mdx": "^3.2.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-hooks": "^5.2.0",
"front-matter": "^4.0.2",
"github-slugger": "^2.0.0",
"globals": "^15.13.0",
Expand All @@ -107,10 +107,10 @@
"husky": "^9.1.7",
"hyperlink": "^5.0.4",
"jest": "^29.7.0",
"lightningcss": "^1.28.2",
"lint-staged": "^15.2.10",
"lightningcss": "^1.29.2",
"lint-staged": "^15.4.3",
"lodash": "^4.17.21",
"markdownlint-cli": "^0.43.0",
"markdownlint-cli": "^0.44.0",
"mdast-util-to-string": "^4.0.0",
"mini-css-extract-plugin": "^2.9.2",
"mkdirp": "^3.0.1",
Expand Down Expand Up @@ -166,6 +166,6 @@
"sitemap-static/minimist": "1.2.5",
"ini": "1.3.7",
"eval": "^0.1.5",
"markdownlint-cli/markdownlint": "^0.27.0"
"markdownlint-cli/markdownlint": "^0.37.4"
}
}
8 changes: 4 additions & 4 deletions src/content/configuration/devtool.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ T> Instead of using the `devtool` option you can also use `SourceMapDevToolPlugi
| `eval-cheap-source-map` | **build**: ok<br /><br />**rebuild**: fast | no | transformed | Tradeoff choice for development builds. |
| `eval-cheap-module-source-map` | **build**: slow<br /><br />**rebuild**: fast | no | original lines | Tradeoff choice for development builds. |
| **`eval-source-map`** | **build**: slowest<br /><br />**rebuild**: ok | no | original | Recommended choice for development builds with high quality SourceMaps. |
| `cheap-source-map` | **build**: ok<br /><br />**rebuild**: slow | no | transformed |
| `cheap-module-source-map` | **build**: slow<br /><br />**rebuild**: slow | no | original lines |
| `cheap-source-map` | **build**: ok<br /><br />**rebuild**: slow | no | transformed | |
| `cheap-module-source-map` | **build**: slow<br /><br />**rebuild**: slow | no | original lines | |
| **`source-map`** | **build**: slowest<br /><br />**rebuild**: slowest | yes | original | Recommended choice for production builds with high quality SourceMaps. |
| `inline-cheap-source-map` | **build**: ok<br /><br />**rebuild**: slow | no | transformed |
| `inline-cheap-module-source-map` | **build**: slow<br /><br />**rebuild**: slow | no | original lines |
| `inline-cheap-source-map` | **build**: ok<br /><br />**rebuild**: slow | no | transformed | |
| `inline-cheap-module-source-map` | **build**: slow<br /><br />**rebuild**: slow | no | original lines | |
| `inline-source-map` | **build**: slowest<br /><br />**rebuild**: slowest | no | original | Possible choice when publishing a single file |
| `eval-nosources-cheap-source-map` | **build**: ok<br /><br />**rebuild**: fast | no | transformed | source code not included |
| `eval-nosources-cheap-module-source-map` | **build**: slow<br /><br />**rebuild**: fast | no | original lines | source code not included |
Expand Down
1 change: 1 addition & 0 deletions src/content/contribute/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ The people who contribute to webpack do so for the love of open source, our user
<img
src="https://opencollective.com/webpack/donate/button@2x.png?color=blue"
width={300}
alt="Donate to webpack"
/>
</a>

Expand Down
14 changes: 7 additions & 7 deletions src/content/guides/package-exports.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -200,18 +200,18 @@ One of these conditions is set depending on the syntax used to reference the mod
| --------- | ----------------------------------------------------------------- | -------------------------------------------------------------------- |
| `import` | Request is issued from ESM syntax or similar. | Node.js, webpack, rollup, esinstall<sup>(1)</sup>, wmr<sup>(1)</sup> |
| `require` | Request is issued from CommonJs/AMD syntax or similar. | Node.js, webpack, rollup, esinstall<sup>(1)</sup>, wmr<sup>(1)</sup> |
| `style` | Request is issued from a stylesheet reference. |
| `sass` | Request is issued from a sass stylesheet reference. |
| `asset` | Request is issued from a asset reference. |
| `script` | Request is issued from a normal script tag without module system. |
| `style` | Request is issued from a stylesheet reference. | |
| `sass` | Request is issued from a sass stylesheet reference. | |
| `asset` | Request is issued from a asset reference. | |
| `script` | Request is issued from a normal script tag without module system. | |

These conditions might also be set additionally:

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

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

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

For custom conditions the following naming schema is recommended:

Expand Down
Loading
Loading