-
Notifications
You must be signed in to change notification settings - Fork 305
fix: Disable compile time evaluation of import.meta.url #897
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
Conversation
styfle
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
Can you add a test to ensure this behavior is working as intended?
|
I added a unit test to validate that I think some test fixtures also need to be updated due to the new webpack version? I'm happy to leave that to you though, if that's ok 😁 |
|
Looks like the issue is here Lines 79 to 92 in a9c07e0
The returned object no longer matches the latest webpack expected type here https://github.com/webpack/webpack/blob/d3a0f8de03f26a83b4d5db3cfe177617a3801df3/types.d.ts#L12062-L12097 |
…ated `NodeWatchFileSystem` class
|
@styfle Thanks for pointing me to the watcher implementation! I updated the |
styfle
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, thanks! 🎉
## Purpose A while ago, a [PR](#897) was merged to disable `import.meta` evaluation altogether to support new versions of Webpack. This sometimes causes issues in CJS projects. In the comments, there were some [discussions](#897 (comment)) about whether we should have a conditional and keep the previous behavior for CJS builds. This PR addresses exactly this by translating `import.meta.url` to a CJS compatible statement which results to the same output. I have created a [comparative build](https://github.com/meienberger/ncc/pull/1/files) between two projects using the same code and a dependency (@sentry/node) that uses `import.meta.url`. You can see the difference in the output `index.js` Before the change: ```javascript const importMetaUrl = typeof import.meta.url !== 'undefined' ? import.meta.url : undefined; ``` After: ```javascript const importMetaUrl = typeof require("url").pathToFileURL(__filename).href !== 'undefined' ? require("url").pathToFileURL(__filename).href : undefined; ``` Closes #1019
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more [here](https://redirect.github.com/renovatebot/renovate/discussions/37842). This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [@vercel/ncc](https://redirect.github.com/vercel/ncc) | [`0.38.3` -> `0.38.4`](https://renovatebot.com/diffs/npm/@vercel%2fncc/0.38.3/0.38.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vercel/ncc (@​vercel/ncc)</summary> ### [`v0.38.4`](https://redirect.github.com/vercel/ncc/releases/tag/0.38.4) [Compare Source](https://redirect.github.com/vercel/ncc/compare/0.38.3...0.38.4) ##### Bug Fixes - **cjs-build:** enable evaluating import.meta in cjs build ([#​1236](https://redirect.github.com/vercel/ncc/issues/1236)) ([e72d34d](https://redirect.github.com/vercel/ncc/commit/e72d34d97e7cb2348af19993b6cdb6fec5374ac9)), closes [/github.com/vercel/ncc/pull/897#discussion\_r836916315](https://redirect.github.com//github.com/vercel/ncc/pull/897/issues/discussion_r836916315) [#​1019](https://redirect.github.com/vercel/ncc/issues/1019) </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) in timezone Europe/Berlin, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/WtfJoke/setup-tectonic). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more [here](https://redirect.github.com/renovatebot/renovate/discussions/37842). This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [@vercel/ncc](https://redirect.github.com/vercel/ncc) | [`0.38.3` -> `0.38.4`](https://renovatebot.com/diffs/npm/@vercel%2fncc/0.38.3/0.38.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vercel/ncc (@​vercel/ncc)</summary> ### [`v0.38.4`](https://redirect.github.com/vercel/ncc/releases/tag/0.38.4) [Compare Source](https://redirect.github.com/vercel/ncc/compare/0.38.3...0.38.4) ##### Bug Fixes - **cjs-build:** enable evaluating import.meta in cjs build ([#​1236](https://redirect.github.com/vercel/ncc/issues/1236)) ([e72d34d](https://redirect.github.com/vercel/ncc/commit/e72d34d97e7cb2348af19993b6cdb6fec5374ac9)), closes [/github.com/vercel/ncc/pull/897#discussion\_r836916315](https://redirect.github.com//github.com/vercel/ncc/pull/897/issues/discussion_r836916315) [#​1019](https://redirect.github.com/vercel/ncc/issues/1019) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/shiron-dev/actions). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more [here](https://redirect.github.com/renovatebot/renovate/discussions/37842). This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [@vercel/ncc](https://redirect.github.com/vercel/ncc) | [`0.38.3` -> `0.38.4`](https://renovatebot.com/diffs/npm/@vercel%2fncc/0.38.3/0.38.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vercel/ncc (@​vercel/ncc)</summary> ### [`v0.38.4`](https://redirect.github.com/vercel/ncc/releases/tag/0.38.4) [Compare Source](https://redirect.github.com/vercel/ncc/compare/0.38.3...0.38.4) ##### Bug Fixes - **cjs-build:** enable evaluating import.meta in cjs build ([#​1236](https://redirect.github.com/vercel/ncc/issues/1236)) ([e72d34d](https://redirect.github.com/vercel/ncc/commit/e72d34d97e7cb2348af19993b6cdb6fec5374ac9)), closes [/github.com/vercel/ncc/pull/897#discussion\_r836916315](https://redirect.github.com//github.com/vercel/ncc/pull/897/issues/discussion_r836916315) [#​1019](https://redirect.github.com/vercel/ncc/issues/1019) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on tuesday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/hetznercloud/setup-hcloud). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@vercel/ncc](https://redirect.github.com/vercel/ncc) | devDependencies | patch | [`0.38.3` -> `0.38.4`](https://renovatebot.com/diffs/npm/@vercel%2fncc/0.38.3/0.38.4) | --- ### Release Notes <details> <summary>vercel/ncc (@​vercel/ncc)</summary> ### [`v0.38.4`](https://redirect.github.com/vercel/ncc/releases/tag/0.38.4) [Compare Source](https://redirect.github.com/vercel/ncc/compare/0.38.3...0.38.4) ##### Bug Fixes - **cjs-build:** enable evaluating import.meta in cjs build ([#​1236](https://redirect.github.com/vercel/ncc/issues/1236)) ([e72d34d](https://redirect.github.com/vercel/ncc/commit/e72d34d97e7cb2348af19993b6cdb6fec5374ac9)), closes [/github.com/vercel/ncc/pull/897#discussion_r836916315](https://redirect.github.com//github.com/vercel/ncc/pull/897/issues/discussion_r836916315) [#​1019](https://redirect.github.com/vercel/ncc/issues/1019) </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4yMi4xIiwidXBkYXRlZEluVmVyIjoiNDAuMjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYXV0b21lcmdlIl19-->
> [!NOTE]
> Mend has cancelled [the proposed
renaming](https://redirect.github.com/renovatebot/renovate/discussions/37842)
of the Renovate GitHub app being renamed to `mend[bot]`.
>
> This notice will be removed on 2025-10-07.
<hr>
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| [@eslint/js](https://eslint.org)
([source](https://redirect.github.com/eslint/eslint/tree/HEAD/packages/js))
| [`9.33.0` ->
`9.36.0`](https://renovatebot.com/diffs/npm/@eslint%2fjs/9.33.0/9.36.0)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
|
[@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`24.3.0` ->
`24.6.1`](https://renovatebot.com/diffs/npm/@types%2fnode/24.3.0/24.6.1)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
|
[@types/semver](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/semver)
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/semver))
| [`7.7.0` ->
`7.7.1`](https://renovatebot.com/diffs/npm/@types%2fsemver/7.7.0/7.7.1)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
| [@vercel/ncc](https://redirect.github.com/vercel/ncc) | [`0.38.3` ->
`0.38.4`](https://renovatebot.com/diffs/npm/@vercel%2fncc/0.38.3/0.38.4)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
| [eslint](https://eslint.org)
([source](https://redirect.github.com/eslint/eslint)) | [`9.33.0` ->
`9.36.0`](https://renovatebot.com/diffs/npm/eslint/9.33.0/9.36.0) |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
|
[eslint-config-prettier](https://redirect.github.com/prettier/eslint-config-prettier)
| [`10.1.5` ->
`10.1.8`](https://renovatebot.com/diffs/npm/eslint-config-prettier/10.1.5/10.1.8)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
|
[eslint-plugin-prettier](https://redirect.github.com/prettier/eslint-plugin-prettier)
| [`5.5.1` ->
`5.5.4`](https://renovatebot.com/diffs/npm/eslint-plugin-prettier/5.5.1/5.5.4)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
| [jest](https://jestjs.io/)
([source](https://redirect.github.com/jestjs/jest/tree/HEAD/packages/jest))
| [`30.0.5` ->
`30.2.0`](https://renovatebot.com/diffs/npm/jest/30.0.5/30.2.0) |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
| [ts-jest](https://kulshekhar.github.io/ts-jest)
([source](https://redirect.github.com/kulshekhar/ts-jest)) | [`29.4.1`
-> `29.4.4`](https://renovatebot.com/diffs/npm/ts-jest/29.4.1/29.4.4) |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
| [typescript](https://www.typescriptlang.org/)
([source](https://redirect.github.com/microsoft/TypeScript)) | [`5.9.2`
-> `5.9.3`](https://renovatebot.com/diffs/npm/typescript/5.9.2/5.9.3) |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
|
[typescript-eslint](https://typescript-eslint.io/packages/typescript-eslint)
([source](https://redirect.github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint))
| [`8.39.1` ->
`8.45.0`](https://renovatebot.com/diffs/npm/typescript-eslint/8.39.1/8.45.0)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>eslint/eslint (@​eslint/js)</summary>
###
[`v9.36.0`](https://redirect.github.com/eslint/eslint/releases/tag/v9.36.0)
[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.35.0...v9.36.0)
#### Features
-
[`47afcf6`](https://redirect.github.com/eslint/eslint/commit/47afcf668df65eac68d7b04145d037037010a076)
feat: correct `preserve-caught-error` edge cases
([#​20109](https://redirect.github.com/eslint/eslint/issues/20109))
(Francesco Trotta)
#### Bug Fixes
-
[`75b74d8`](https://redirect.github.com/eslint/eslint/commit/75b74d865d3b8e7fa3bcf5ad29f4bf6d18d1310e)
fix: add missing rule option types
([#​20127](https://redirect.github.com/eslint/eslint/issues/20127))
(ntnyq)
-
[`1c0d850`](https://redirect.github.com/eslint/eslint/commit/1c0d85049e3f30a8809340c1abc881c63b7812ff)
fix: update `eslint-all.js` to use `Object.freeze` for `rules` object
([#​20116](https://redirect.github.com/eslint/eslint/issues/20116))
(루밀LuMir)
-
[`7d61b7f`](https://redirect.github.com/eslint/eslint/commit/7d61b7fadc9c5c6f2b131e37e8a3cffa5aae8ee6)
fix: add missing scope types to `Scope.type`
([#​20110](https://redirect.github.com/eslint/eslint/issues/20110))
(Pixel998)
-
[`7a670c3`](https://redirect.github.com/eslint/eslint/commit/7a670c301b58609017ce8cfda99ee81f95de3898)
fix: correct rule option typings in `rules.d.ts`
([#​20084](https://redirect.github.com/eslint/eslint/issues/20084))
(Pixel998)
#### Documentation
-
[`b73ab12`](https://redirect.github.com/eslint/eslint/commit/b73ab12acd3e87f8d8173cda03499f6cd1f26db6)
docs: update examples to use `defineConfig`
([#​20131](https://redirect.github.com/eslint/eslint/issues/20131))
(sethamus)
-
[`31d9392`](https://redirect.github.com/eslint/eslint/commit/31d93926990fba536846ec727d7a2625fc844649)
docs: fix typos
([#​20118](https://redirect.github.com/eslint/eslint/issues/20118))
(Pixel998)
-
[`c7f861b`](https://redirect.github.com/eslint/eslint/commit/c7f861b3f8c1ac961b4cd4f22483798f3324c62b)
docs: Update README (GitHub Actions Bot)
-
[`6b0c08b`](https://redirect.github.com/eslint/eslint/commit/6b0c08b106aa66f2e9fa484282f0eb63c64a1215)
docs: Update README (GitHub Actions Bot)
-
[`91f97c5`](https://redirect.github.com/eslint/eslint/commit/91f97c50468fbdc089c91e99c2ea0fe821911df2)
docs: Update README (GitHub Actions Bot)
#### Chores
-
[`12411e8`](https://redirect.github.com/eslint/eslint/commit/12411e8d450ed26a5f7cca6a78ec05323c9323e8)
chore: upgrade
[@​eslint/js](https://redirect.github.com/eslint/js)@​9.36.0
([#​20139](https://redirect.github.com/eslint/eslint/issues/20139))
(Milos Djermanovic)
-
[`488cba6`](https://redirect.github.com/eslint/eslint/commit/488cba6b391b97b2cfc74bbb46fdeacb1361949e)
chore: package.json update for
[@​eslint/js](https://redirect.github.com/eslint/js) release
(Jenkins)
-
[`bac82a2`](https://redirect.github.com/eslint/eslint/commit/bac82a2a9c80a3f69087852758d7737aea371f09)
ci: simplify renovate configuration
([#​19907](https://redirect.github.com/eslint/eslint/issues/19907))
(唯然)
-
[`c00bb37`](https://redirect.github.com/eslint/eslint/commit/c00bb37d62c1bcc0a37f094371be9c40064009f1)
ci: bump actions/labeler from 5 to 6
([#​20090](https://redirect.github.com/eslint/eslint/issues/20090))
(dependabot\[bot])
-
[`fee751d`](https://redirect.github.com/eslint/eslint/commit/fee751dc8aeab54547af4538332ea5c069ef28b6)
refactor: use `defaultOptions` in rules
([#​20121](https://redirect.github.com/eslint/eslint/issues/20121))
(Pixel998)
-
[`1ace67d`](https://redirect.github.com/eslint/eslint/commit/1ace67d9f7903adc3d3f09868aa05b673e7d3f3b)
chore: update example to use `defineConfig`
([#​20111](https://redirect.github.com/eslint/eslint/issues/20111))
(루밀LuMir)
-
[`4821963`](https://redirect.github.com/eslint/eslint/commit/4821963bf765532069c49e9da9ecbe9485b073fc)
test: add missing loc information to error objects in rule tests
([#​20112](https://redirect.github.com/eslint/eslint/issues/20112))
(루밀LuMir)
-
[`b42c42e`](https://redirect.github.com/eslint/eslint/commit/b42c42e7cd3ac9ee1b5a15f16ff25b325d0482e4)
chore: disallow use of deprecated `type` property in core rule tests
([#​20094](https://redirect.github.com/eslint/eslint/issues/20094))
(Milos Djermanovic)
-
[`7bb498d`](https://redirect.github.com/eslint/eslint/commit/7bb498d720dcd054cc042ca4b60b138d8485f07c)
test: remove deprecated `type` property from core rule tests
([#​20093](https://redirect.github.com/eslint/eslint/issues/20093))
(Pixel998)
-
[`e10cf2a`](https://redirect.github.com/eslint/eslint/commit/e10cf2ab42fe5b481d980dc652f7504414747733)
ci: bump actions/setup-node from 4 to 5
([#​20089](https://redirect.github.com/eslint/eslint/issues/20089))
(dependabot\[bot])
-
[`5cb0ce4`](https://redirect.github.com/eslint/eslint/commit/5cb0ce48ef6cfbbe6d09131c33a53f9d66fe9bd4)
refactor: use `meta.defaultOptions` in `preserve-caught-error`
([#​20080](https://redirect.github.com/eslint/eslint/issues/20080))
(Pixel998)
-
[`f9f7cb5`](https://redirect.github.com/eslint/eslint/commit/f9f7cb578dced3c14f635e17c75aa6744d291f4d)
chore: package.json update for eslint-config-eslint release (Jenkins)
-
[`81764b2`](https://redirect.github.com/eslint/eslint/commit/81764b298065a328038cd067bc8fedef97e57500)
chore: update `eslint` peer dependency in `eslint-config-eslint`
([#​20079](https://redirect.github.com/eslint/eslint/issues/20079))
(Milos Djermanovic)
###
[`v9.35.0`](https://redirect.github.com/eslint/eslint/compare/v9.34.0...af2a0870fdc646091d027516601888923e5bc202)
[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.34.0...v9.35.0)
###
[`v9.34.0`](https://redirect.github.com/eslint/eslint/compare/v9.33.0...b48fa20034e53bc65d1a58f3d834705e3087b00c)
[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.33.0...v9.34.0)
</details>
<details>
<summary>vercel/ncc (@​vercel/ncc)</summary>
###
[`v0.38.4`](https://redirect.github.com/vercel/ncc/releases/tag/0.38.4)
[Compare
Source](https://redirect.github.com/vercel/ncc/compare/0.38.3...0.38.4)
##### Bug Fixes
- **cjs-build:** enable evaluating import.meta in cjs build
([#​1236](https://redirect.github.com/vercel/ncc/issues/1236))
([e72d34d](https://redirect.github.com/vercel/ncc/commit/e72d34d97e7cb2348af19993b6cdb6fec5374ac9)),
closes
[/github.com/vercel/ncc/pull/897#discussion\_r836916315](https://redirect.github.com//github.com/vercel/ncc/pull/897/issues/discussion_r836916315)
[#​1019](https://redirect.github.com/vercel/ncc/issues/1019)
</details>
<details>
<summary>eslint/eslint (eslint)</summary>
###
[`v9.36.0`](https://redirect.github.com/eslint/eslint/compare/v9.35.0...b4857e54e54b5dba96d156cd8d8b4d42dc5a3bf4)
[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.35.0...v9.36.0)
###
[`v9.35.0`](https://redirect.github.com/eslint/eslint/compare/v9.34.0...8401101d1e3e3e4e1edc2a9e59cafc9956bf2610)
[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.34.0...v9.35.0)
###
[`v9.34.0`](https://redirect.github.com/eslint/eslint/compare/v9.33.0...b8875f67a7bc99824f19147f4a669be7e98f3eee)
[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.33.0...v9.34.0)
</details>
<details>
<summary>prettier/eslint-config-prettier
(eslint-config-prettier)</summary>
###
[`v10.1.8`](https://redirect.github.com/prettier/eslint-config-prettier/releases/tag/v10.1.8)
[Compare
Source](https://redirect.github.com/prettier/eslint-config-prettier/compare/v10.1.5...v10.1.8)
### eslint-config-prettier
#### 10.1.5
##### Patch Changes
-
[#​332](https://redirect.github.com/prettier/eslint-config-prettier/pull/332)
[`60fef02`](https://redirect.github.com/prettier/eslint-config-prettier/commit/60fef02574467d31d10ff47ecb567d378483c9d4)
Thanks [@​JounQin](https://redirect.github.com/JounQin)! - chore:
add `funding` field into `package.json`
#### 10.1.4
##### Patch Changes
-
[#​328](https://redirect.github.com/prettier/eslint-config-prettier/pull/328)
[`94b4799`](https://redirect.github.com/prettier/eslint-config-prettier/commit/94b47999e7eb13b703835729331376cef598b850)
Thanks [@​silvenon](https://redirect.github.com/silvenon)! -
fix(cli): do not crash on no rules configured
#### 10.1.3
##### Patch Changes
-
[#​325](https://redirect.github.com/prettier/eslint-config-prettier/pull/325)
[`4e95a1d`](https://redirect.github.com/prettier/eslint-config-prettier/commit/4e95a1d50073f1a24f004239ad6e1a4ffa8476df)
Thanks [@​pilikan](https://redirect.github.com/pilikan)! - fix:
this package is `commonjs`, align its types correctly
#### 10.1.2
##### Patch Changes
-
[#​321](https://redirect.github.com/prettier/eslint-config-prettier/pull/321)
[`a8768bf`](https://redirect.github.com/prettier/eslint-config-prettier/commit/a8768bfe54a91d08f0cef8705f91de2883436bb0)
Thanks [@​Fdawgs](https://redirect.github.com/Fdawgs)! -
chore(package): add homepage for some 3rd-party registry - see
[#​321](https://redirect.github.com/prettier/eslint-config-prettier/pull/321)
for more details
#### 10.1.1
##### Patch Changes
-
[#​309](https://redirect.github.com/prettier/eslint-config-prettier/pull/309)
[`eb56a5e`](https://redirect.github.com/prettier/eslint-config-prettier/commit/eb56a5e09964e49045bccde3c616275eb0a0902d)
Thanks [@​JounQin](https://redirect.github.com/JounQin)! - fix:
separate the `/flat` entry for compatibility
For flat config users, the previous `"eslint-config-prettier"` entry
still works, but `"eslint-config-prettier/flat"` adds a new `name`
property for
[config-inspector](https://eslint.org/blog/2024/04/eslint-config-inspector/),
we just can't add it for the default entry for compatibility.
See also
[#​308](https://redirect.github.com/prettier/eslint-config-prettier/issues/308)
```ts
// before
import eslintConfigPrettier from "eslint-config-prettier";
// after
import eslintConfigPrettier from "eslint-config-prettier/flat";
```
#### 10.1.0
##### Minor Changes
-
[#​306](https://redirect.github.com/prettier/eslint-config-prettier/pull/306)
[`56e2e34`](https://redirect.github.com/prettier/eslint-config-prettier/commit/56e2e3466391d0fdfc200e42130309c687aaab53)
Thanks [@​JounQin](https://redirect.github.com/JounQin)! - feat:
migrate to exports field
#### 10.0.3
##### Patch Changes
-
[#​294](https://redirect.github.com/prettier/eslint-config-prettier/pull/294)
[`8dbbd6d`](https://redirect.github.com/prettier/eslint-config-prettier/commit/8dbbd6d70b8a56cdfa4ea4e185d3699d5729b38e)
Thanks [@​FloEdelmann](https://redirect.github.com/FloEdelmann)! -
feat: add name to config
-
[#​280](https://redirect.github.com/prettier/eslint-config-prettier/pull/280)
[`cba5737`](https://redirect.github.com/prettier/eslint-config-prettier/commit/cba57377e4c86d20d17042d6999eabc754fddc03)
Thanks [@​zanminkian](https://redirect.github.com/zanminkian)! -
feat: add declaration file
#### 10.0.2
##### Patch Changes
-
[#​299](https://redirect.github.com/prettier/eslint-config-prettier/pull/299)
[`e750edc`](https://redirect.github.com/prettier/eslint-config-prettier/commit/e750edc530c816e0b3ffabfab1f4e46532bccbfe)
Thanks [@​Fdawgs](https://redirect.github.com/Fdawgs)! -
chore(package): explicitly declare js module type
#### 10.0.0
##### Major Changes
-
[#​272](https://redirect.github.com/prettier/eslint-config-prettier/pull/272)
[`5be64be`](https://redirect.github.com/prettier/eslint-config-prettier/commit/5be64bef68c3a9bf7202f591f54ffec02572e46b)
Thanks [@​abrahamguo](https://redirect.github.com/abrahamguo)! -
add support for
[@​stylistic](https://redirect.github.com/stylistic) formatting
rules
#### Versions before 10.0.0
##### Version 9.1.0 (2023-12-02)
- Added: [unicorn/template-indent], (as a [special
rule][unicorn/template-indent-special]). Thanks to Gürgün Dayıoğlu
([@​gurgunday](https://redirect.github.com/gurgunday))!
- Changed: All the [formatting rules that were deprecated in ESLint
8.53.0][deprecated-8.53.0] are now excluded if you set the
`ESLINT_CONFIG_PRETTIER_NO_DEPRECATED` environment variable.
##### Version 9.0.0 (2023-08-05)
- Added: The CLI helper tool now works with eslint.config.js (flat
config). Just like ESLint itself, the CLI tool automatically first tries
eslint.config.js and then eslintrc, and you can force which one to use
by setting the [ESLINT\_USE\_FLAT\_CONFIG][ESLINT_USE_FLAT_CONFIG]
environment variable. Note that the *config* of eslint-config-prettier
has always been compatible with eslint.config.js (flat config) – it was
just the CLI tool that needed updating. On top of that, the docs have
been updated to mention how to use both eslint.config.js (flat config)
and eslintrc, and the tests now test both config systems.
- Changed: [unicode-bom] is no longer turned off. Prettier preserves the
BOM if you have one, and does not add one if missing. It was wrong of
eslint-config-prettier to disable that rule. If you get ESLint errors
after upgrading, either add `"unicode-bom": "off"` to your config to
disable it again, or run ESLint with `--fix` to fix all files according
to the rule (add or remove BOM). Thanks to Nicolas Stepien
([@​nstepien](https://redirect.github.com/nstepien))!
##### Version 8.10.0 (2023-08-03)
- Added: [max-statements-per-line]. Thanks to
[@​Zamiell](https://redirect.github.com/Zamiell)!
##### Version 8.9.0 (2023-07-27)
- Added: [vue/array-element-newline]. Thanks to
[@​xcatliu](https://redirect.github.com/xcatliu)!
##### Version 8.8.0 (2023-03-20)
- Added: [@​typescript-eslint/lines-around-comment]. Thanks to
[@​ttionya](https://redirect.github.com/ttionya)!
##### Version 8.7.0 (2023-03-06)
- Added: [@​typescript-eslint/block-spacing]. Thanks to
[@​ttionya](https://redirect.github.com/ttionya)!
- Added: [@​typescript-eslint/key-spacing]. Thanks to
[@​ttionya](https://redirect.github.com/ttionya)!
##### Version 8.6.0 (2023-01-02)
- Added: [vue/multiline-ternary]. Thanks to
[@​xcatliu](https://redirect.github.com/xcatliu)!
##### Version 8.5.0 (2022-03-02)
- Added: [@​typescript-eslint/space-before-blocks]. Thanks to
Masafumi Koba
([@​ybiquitous](https://redirect.github.com/ybiquitous))!
##### Version 8.4.0 (2022-02-19)
- Added: [vue/quote-props]. Thanks to
[@​xcatliu](https://redirect.github.com/xcatliu)!
##### Version 8.3.0 (2021-04-24)
- Added: Support for [@​babel/eslint-plugin]. Thanks to Chip Zhang
([@​ChipZhang](https://redirect.github.com/ChipZhang)) for the
heads-up! ([eslint-plugin-babel] is still supported, too.)
##### Version 8.2.0 (2021-04-13)
- Added: [flowtype/quotes]. Thanks to Martin Zlámal
([@​mrtnzlml](https://redirect.github.com/mrtnzlml))!
##### Version 8.1.0 (2021-02-24)
- Added: [flowtype/object-type-curly-spacing].
- Added: Dummy files for the configs removed in 8.0.0. The dummy files
throw an error that try to guide you how to upgrade.
##### Version 8.0.0 (2021-02-21)
- Changed: All configs have been merged into one!
To upgrade, change:
```json
{
"extends": [
"some-other-config-you-use",
"prettier",
"prettier/@​typescript-eslint",
"prettier/babel",
"prettier/flowtype",
"prettier/react",
"prettier/standard",
"prettier/unicorn",
"prettier/vue"
]
}
```
Into:
<!-- prettier-ignore -->
```json
{
"extends": [
"some-other-config-you-use",
"prettier"
]
}
```
The `"prettier"` config now includes not just ESLint core rules, but
also rules from all plugins. Much simpler!
So … what’s the catch? Why haven’t we done this earlier? Turns out it’s
just a sad mistake. I
([@​lydell](https://redirect.github.com/lydell)) was confused when
testing, and thought that turning off unknown rules in a config was an
error. Thanks to Georgii Dolzhykov
([@​thorn0](https://redirect.github.com/thorn0)) for pointing this
out!
If you use [eslint-plugin-prettier], all you need is
[plugin:prettier/recommended]:
<!-- prettier-ignore -->
```json
{
"extends": [
"some-other-config-you-use",
"plugin:prettier/recommended"
]
}
```
(The ["prettier/prettier" config][prettier-prettier-config] still exists
separately. It’s the odd one out. The main `"prettier"` config does
*not* include the rules from it.)
- Changed: The CLI helper tool now only prints warnings for
[arrow-body-style] and [prefer-arrow-callback], just like other “special
rules.” This means that if you’ve decided to use those rules and
[eslint-plugin-prettier] at the same time, you’ll get warnings but exit
code zero (success).
##### Version 7.2.0 (2021-01-18)
- Added: [@​typescript-eslint/object-curly-spacing].
- Added: [react/jsx-newline].
##### Version 7.1.0 (2020-12-19)
- Added: [unicorn/empty-brace-spaces]. Thanks to fisker Cheung
([@​fisker](https://redirect.github.com/fisker))!
##### Version 7.0.0 (2020-12-05)
- Changed: At least ESLint 7.0.0 is now required.
- Changed: [arrow-body-style] and [prefer-arrow-callback] are no longer
turned off by default. They only need to be turned off if you use
[eslint-plugin-prettier]. If you do, add `"prettier/prettier"` to your
`"extends"` array to turn them off again.
```json
{
"extends": ["prettier", "prettier/prettier"],
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "error"
}
}
```
Alternatively, update [eslint-plugin-prettier] to version 3.2.0 or later
which automatically turns off these two rules in its
`"plugin:prettier/recommended"` config.
The CLI helper tool only warns about these rules if you have the
`"prettier/prettier"` *rule* enabled for a file.
- Changed: `no-tabs` is now a validatable rule. If you use it, you
should enable `allowIndentationTabs` so that the rule works regardless
of your Prettier config:
```json
{
"rules": {
"no-tabs": ["error", { "allowIndentationTabs": true }]
}
}
```
- Changed: The CLI helper tool is now called just
`eslint-config-prettier` instead of `eslint-config-prettier-check`. This
is so that `npx eslint-config-prettier` always works regardless of
whether you have already installed `eslint-config-prettier` or not: If
you have, the local installation is used; if you haven’t, `npx`
downloads a temporary copy.
- Changed: The CLI helper tool no longer requires you to pipe the output
of `eslint --print-config` to it. Instead, it does that automatically
for you via ESLint API:s added in ESLint v7.
Before:
```
npx eslint --print-config index.js | npx eslint-config-prettier-check
```
After:
```
npx eslint-config-prettier index.js
```
- Improved: The npm package is now 75% smaller.
##### Version 6.15.0 (2020-10-27)
- Added: [@​typescript-eslint/space-infix-ops]. Thanks to Masafumi
Koba ([@​ybiquitous](https://redirect.github.com/ybiquitous))!
##### Version 6.14.0 (2020-10-21)
- Added: New [eslint-plugin-vue] rules: \[vue/array-bracket-newline] and
\[vue/block-tag-newline]. Thanks to
[@​xcatliu](https://redirect.github.com/xcatliu)!
##### Version 6.13.0 (2020-10-16)
- Added: New rules in [eslint-plugin-vue] 7.0 (which supports Vue 3.0).
Thanks to [@​xcatliu](https://redirect.github.com/xcatliu)!
##### Version 6.12.0 (2020-09-25)
- Added: [@​typescript-eslint/comma-dangle]. Thanks to Masafumi
Koba ([@​ybiquitous](https://redirect.github.com/ybiquitous))!
##### Version 6.11.0 (2020-04-21)
- Added: [@​typescript-eslint/keyword-spacing]. Thanks to Hans
Bergren ([@​hbergren](https://redirect.github.com/hbergren))!
##### Version 6.10.1 (2020-03-22)
- Improved: Recommend using `npx` when running the CLI helper tool.
- Updated: Mention that eslint-config-prettier has been tested with
Prettier 2.0 and the latest versions of plugins.
##### Version 6.10.0 (2020-01-28)
- Added: [@​typescript-eslint/comma-spacing]. Thanks to Masafumi
Koba ([@​ybiquitous](https://redirect.github.com/ybiquitous))!
##### Version 6.9.0 (2019-12-27)
- Added: [vue/max-len]. Thanks to
[@​xcatliu](https://redirect.github.com/xcatliu)!
##### Version 6.8.0 (2019-12-25)
- Added: [@​typescript-eslint/no-extra-semi]. Thanks to
[@​xcatliu](https://redirect.github.com/xcatliu)!
##### Version 6.7.0 (2019-11-19)
- Added: [@​typescript-eslint/space-before-function-paren]. Thanks
to Masafumi Koba
([@​ybiquitous](https://redirect.github.com/ybiquitous))!
##### Version 6.6.0 (2019-11-17)
- Added: New [eslint-plugin-vue] rules: [vue/dot-location] and
[vue/keyword-spacing]. Thanks to
[@​xcatliu](https://redirect.github.com/xcatliu)!
##### Version 6.5.0 (2019-10-26)
- Added: Support for [excluding deprecated rules]. Thanks to Alex Ilyaev
([@​alexilyaev](https://redirect.github.com/alexilyaev))!
##### Version 6.4.0 (2019-10-05)
- Added: [unicorn/no-nested-ternary]. Thanks to Yang Mingshan
([@​yangmingshan](https://redirect.github.com/yangmingshan))!
##### Version 6.3.0 (2019-09-10)
- Added: [@​typescript-eslint/brace-style]. Thanks to Masafumi
Koba ([@​ybiquitous](https://redirect.github.com/ybiquitous))!
##### Version 6.2.0 (2019-09-03)
- Added: [@​typescript-eslint/quotes] (as a [special
rule][@​typescript-eslint/quotes-special]). Thanks to Masafumi
Koba ([@​ybiquitous](https://redirect.github.com/ybiquitous))!
##### Version 6.1.0 (2019-08-19)
- Added: [function-call-argument-newline] (new in ESLint 6.2.0). Thanks
to Masafumi Koba
([@​ybiquitous](https://redirect.github.com/ybiquitous))!
##### Version 6.0.0 (2019-06-25)
- Changed: The CLI helper tool now considers [no-confusing-arrow] to
conflict if you use the default value of its `allowParens` option. The
default was changed to `true` in ESLint 6, which conflicts with
Prettier.
If the CLI helper tool gives you errors about this after upgrading, the
solution is to change this:
```json
{
"rules": {
"no-confusing-arrow": ["error"]
}
}
```
Into this:
```json
{
"rules": {
"no-confusing-arrow": ["error", { "allowParens": false }]
}
}
```
The latter works in both ESLint 6 as well as in ESLint 5 and older.
- Improved: `eslint --print-config` usage instructions. The CLI tool
help text as well as the documentation has been updated to suggest
commands that work in ESLint 6.0 as well as in ESLint 5 and older.
(Instead of `eslint --print-config .`, use `eslint --print-config
path/to/main.js`.)
##### Version 5.1.0 (2019-06-25)
- Added: [react/jsx-curly-newline]. Thanks to Masafumi Koba
([@​ybiquitous](https://redirect.github.com/ybiquitous))!
##### Version 5.0.0 (2019-06-15)
- Removed: [react/self-closing-comp]. This rule was added in v4.1.0 not
because it *conflicted* with Prettier but because it was *unnecessary*
when using Prettier. However, in v1.18.0 [Prettier stopped converting
empty elements to self-closing elements][prettier-self-closing]. So the
rule is not unnecessary anymore.
If you use Prettier v1.17.1 or older you should be able to upgrade
eslint-config-prettier to v5.0.0 without having to do anything else.
If you use Prettier v1.18.0 or newer, you might get lint errors about
for example changing `<div></div>` into `<div />`. You have two options:
- Run `eslint --fix` if you prefer to enforce self-closing elements
where possible. This should fix all the errors.
- Add `"react/self-closing-comp": "off"` to your ESLint config if you
use autofix from your editor and you face the same [issue as Prettier
did][prettier-self-closing].
- Changed: Node.js 6 is no longer officially supported, but v5.0.0
should still work with it.
##### Version 4.3.0 (2019-05-16)
- Added: New [eslint-plugin-vue] rules: [vue/arrow-spacing],
[vue/block-spacing], [vue/brace-style] and [vue/comma-dangle].
- Added: New [@​typescript-eslint/eslint-plugin] rules:
[@​typescript-eslint/func-call-spacing] and
[@​typescript-eslint/semi].
##### Version 4.2.0 (2019-04-25)
- Added: [@​typescript-eslint/no-extra-parens]. Thanks to
Keiichiro Amemiya
([@​Hoishin](https://redirect.github.com/Hoishin)) and Jen Gorfine
([@​jgorfine](https://redirect.github.com/jgorfine))!
##### Version 4.1.0 (2019-02-26)
- Added: [linebreak-style]. Use Prettier’s [end-of-line] option instead.
- Added: [react/self-closing-comp]. Thanks to Gaurav Gupta
([@​gaurav5430](https://redirect.github.com/gaurav5430))!
##### Version 4.0.0 (2019-01-26)
- Breaking change: Support for [eslint-plugin-typescript] has been
removed and replaced with support for its successor
[@​typescript-eslint/eslint-plugin]. Thanks to TANIGUCHI Masaya
([@​ta2gch](https://redirect.github.com/ta2gch)) and everyone else
who helped with this!
- Changed: [arrow-body-style] and [prefer-arrow-callback] are now marked
as [special rules][arrow-special], since they might cause problems if
using [eslint-plugin-prettier] and `--fix`. They are turned off by
default, and the CLI helper tool will *warn* about them (but not error
if you do enable them). This won’t break your linting checks, but do
note that these rules will be disabled unless you explicitly enable them
again, and that you might see new warnings when running the CLI helper
tool.
##### Version 3.6.0 (2019-01-19)
- Added: Support for [eslint-plugin-babel]. Thanks to Matija Marohnić
([@​silvenon](https://redirect.github.com/silvenon))!
##### Version 3.5.0 (2019-01-16)
- Fixed: The eslint-plugin-vue change from 3.4.0 has been reverted. That
change requires eslint-plugin-vue@5, while many use eslint-plugin-vue@4.
In other words, it was an accidental breaking change. Also, after
thinking about it some more, it makes sense to have a Prettier-specific
list of rules, rather than using the `vue/no-layout-rules` list, since
there can be layout rules that don’t conflict with but rather complement
Prettier.
- Added: New eslint-plugin-vue rules coming in the next version after
5.1.0.
##### Version 3.4.0 (2019-01-13)
- Added: Support for [eslint-plugin-typescript]. Thanks to Jed Fox
([@​j-f1](https://redirect.github.com/j-f1))!
- Improved: The eslint-plugin-vue integration is now using the
`vue/no-layout-rules` config behind the scenes, so it should
automatically stay up-to-date when new eslint-plugin-vue versions are
released. Thanks to Michał Sajnóg
([@​michalsnik](https://redirect.github.com/michalsnik))!
##### Version 3.3.0 (2018-11-11)
- Added: The [vue/html-self-closing] rule (as a [special
rule][vue/html-self-closing-special]). Thanks to Yamagishi Kazutoshi
([@​ykzts](https://redirect.github.com/ykzts))!
##### Version 3.2.0 (2018-11-10)
- Added: Support for [eslint-plugin-vue].
- Fixed: The CLI helper tool should now work in Node.js 6 with npm 3
again. Thanks to Grant Snodgrass
([@​meeber](https://redirect.github.com/meeber))!
- Improved: Updated documentation.
##### Version 3.1.0 (2018-09-22)
- Added: Support for [eslint-plugin-unicorn]. Thanks to John Mars
([@​j0hnm4r5](https://redirect.github.com/j0hnm4r5))!
- Changed: The [quotes] rule is now allowed to be used to forbid
unnecessary backticks. This means that the CLI helper tool no longer can
automatically validate it, so you’ll need to refer the [quotes special
rule documentation][quotes-special]. Thanks to Nick Petruzzelli
([@​npetruzzelli](https://redirect.github.com/npetruzzelli))!
##### Version 3.0.1 (2018-08-13)
- Improved: `eslint --print-config` usage instructions.
##### Version 3.0.0 (2018-08-13)
- Breaking change: Dropped Node.js 4 support.
##### Version 2.10.0 (2018-08-13)
- Added: [flowtype/boolean-style]. Thanks to Mayank Agarwal
([@​Mayank1791989](https://redirect.github.com/Mayank1791989))!
- Added: [react/jsx-child-element-spacing]
- Added: [react/jsx-props-no-multi-spaces]
##### Version 2.9.0 (2017-11-26)
- Added: The [implicit-arrow-linebreak] rule.
##### Version 2.8.0 (2017-11-19)
- Added: The [react/jsx-one-expression-per-line] rule.
##### Version 2.7.0 (2017-11-01)
- Added: The [lines-around-comment] rule (as a [special
rule][lines-around-comment-special]). Thanks to Maurice de Beijer
([@​mauricedb](https://redirect.github.com/mauricedb))!
- Added: The [no-unexpected-multiline] rule (as a [special
rule][no-unexpected-multiline-special]). Thanks to Suhas Karanth
([@​sudo-suhas](https://redirect.github.com/sudo-suhas))!
##### Version 2.6.0 (2017-09-23)
- Added: The [no-floating-decimal] rule.
##### Version 2.5.0 (2017-09-16)
- Added: Support for [eslint-plugin-standard]. Thanks to Christian
Pekeler ([@​pekeler](https://redirect.github.com/pekeler))!
##### Version 2.4.0 (2017-09-02)
- Added: The [function-paren-newline] rule (new in [ESLint 4.6.0]).
Thanks to Pierre Vanduynslager
([@​vanduynslagerp](https://redirect.github.com/vanduynslagerp))!
##### Version 2.3.0 (2017-06-30)
- Added: The (deprecated) [indent-legacy] rule. Thanks to M. Ian Graham
([@​miangraham](https://redirect.github.com/miangraham))!
##### Version 2.2.0 (2017-06-17)
- Added: New rules from [ESLint 4.0.0]:
- [array-element-newline]
- [array-bracket-newline]
- [semi-style]
- [switch-colon-spacing]
- Added: [react/jsx-closing-tag-location]
##### Version 2.1.1 (2017-05-20)
- No code changes. Just updates to the readme.
##### Version 2.1.0 (2017-05-13)
- Added: The [no-tabs] rule (as a [special rule][no-tabs-special]).
Thanks to Alex Meah
([@​AlexMeah](https://redirect.github.com/AlexMeah))!
##### Version 2.0.0 (2017-05-07)
- Changed/Improved: The CLI helper tool is now more helpful.
- The options of special rules are now validated if possible. If a
special rule is enabled with non-conflicting options, the CLI no longer
warns about it.
- If only special rules that cannot be automatically checked are found,
the CLI no longer exists with a non-zero exit code. Instead, it only
warns about the rules.
- Changed: The [no-confusing-arrow] is now a special rule again, since
it might conflict with recent Prettier versions.
- Removed: The `react/wrap-multilines` rule (which has been deprecated
for a while), since it was removed in eslint-plugin-react@7.
##### Version 1.7.0 (2017-04-19)
- Changed: The [no-confusing-arrow] is no longer a special rule, but
simply turned off, since recent Prettier versions make it redundant.
- Improved: The CLI helper tool now has a more helpful message for
special rules, and exits with a different status code if only special
rules were found. The exit codes are now documented as well.
##### Version 1.6.0 (2017-04-05)
- Added: The [curly] rule. Thanks to Martin Rädlinger
([@​formatlos](https://redirect.github.com/formatlos))!
##### Version 1.5.0 (2017-03-04)
- Added: The [nonblock-statement-body-position] rule.
##### Version 1.4.1 (2017-02-28)
- Improved: eslint-config-prettier is now part of the [prettier]
organization! This version updates all URLs to point to the new home of
the project.
##### Version 1.4.0 (2017-02-26)
- Added: The [no-confusing-arrow] rule (as a [special
rule][no-confusing-arrow-special]). Thanks to Dominik Ferber
([@​dferber90](https://redirect.github.com/dferber90))!
- Added: Deprecated or removed rules that might conflict with prettier.
Thanks to Dominik Ferber
([@​dferber90](https://redirect.github.com/dferber90))!
##### Version 1.3.0 (2017-02-21)
- Added: The [template-tag-spacing] rule. Thanks to Thibault Derousseaux
([@​tibdex](https://redirect.github.com/tibdex))!
##### Version 1.2.0 (2017-02-14)
- Added: The [one-var-declaration-per-line] rule. Thanks to Ruben
Oostinga ([@​0xR](https://redirect.github.com/0xR))!
##### Version 1.1.1 (2017-02-12)
- Minor documentation tweak: Changed "Exceptions" into "Special rules".
##### Version 1.1.0 (2017-02-10)
- Fixed: The [eslint-plugin-react] exclusion rules now actually work.
- Fixed: The CLI helper tool now works in Node.js 4. Thanks to Nathan
Friedly ([@​nfriedly](https://redirect.github.com/nfriedly))!
- Added: Support for [eslint-plugin-flowtype].
- Improved: Minor things for the CLI helper tool.
- Improved: There are now tests for everything.
##### Version 1.0.3 (2017-02-03)
- Fixed: `"extends": "prettier/react"` now actually works.
##### Version 1.0.2 (2017-01-30)
- Improved: CLI helper tool instructions.
##### Version 1.0.1 (2017-01-29)
- No difference from 1.0.0. Just an `npm publish` mistake.
##### Version 1.0.0 (2017-01-29)
- Initial release.
[@​babel/eslint-plugin]:
https://redirect.github.com/babel/babel/tree/main/eslint/babel-eslint-plugin
[@​typescript-eslint/block-spacing]:
https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/block-spacing.md
[@​typescript-eslint/brace-style]:
https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/brace-style.md
[@​typescript-eslint/comma-dangle]:
https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/comma-dangle.md
[@​typescript-eslint/comma-spacing]:
https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/comma-spacing.md
[@​typescript-eslint/eslint-plugin]:
https://redirect.github.com/typescript-eslint/typescript-eslint
[@​typescript-eslint/func-call-spacing]:
https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/func-call-spacing.md
[@​typescript-eslint/key-spacing]:
https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/key-spacing.md
[@​typescript-eslint/keyword-spacing]:
https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/keyword-spacing.md
[@​typescript-eslint/lines-around-comment]:
https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/lines-around-comment.md
[@​typescript-eslint/no-extra-parens]:
https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-extra-parens.md
[@​typescript-eslint/no-extra-semi]:
https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-extra-semi.md
[@​typescript-eslint/object-curly-spacing]:
https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/object-curly-spacing.md
[@​typescript-eslint/quotes-special]:
https://redirect.github.com/prettier/eslint-config-prettier/blob/857257179fe69715362dfa9300762d6e534c0603/README.md#quotes
[@​typescript-eslint/quotes]:
https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/quotes.md
[@​typescript-eslint/semi]:
https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/semi.md
[@​typescript-eslint/space-before-blocks]:
https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/space-before-blocks.md
[@​typescript-eslint/space-before-function-paren]:
https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/space-before-function-paren.md
[@​typescript-eslint/space-infix-ops]:
https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/space-infix-ops.md
[array-bracket-newline]:
https://eslint.org/docs/rules/array-bracket-newline
[array-element-newline]:
https://eslint.org/docs/rules/array-element-newline
[arrow-body-style]: https://eslint.org/docs/rules/arrow-body-style
[arrow-special]:
https://redirect.github.com/prettier/eslint-config-prettier/blob/2c842675e55b91aecaef6f997d234ebf2d220ffb/README.md#arrow-body-style-and-prefer-arrow-callback
[curly]: https://eslint.org/docs/rules/curly
[deprecated-8.53.0]:
https://eslint.org/blog/2023/10/deprecating-formatting-rules/
[end-of-line]: https://prettier.io/docs/en/options.html#end-of-line
[eslint 4.0.0]: https://eslint.org/blog/2017/06/eslint-v4.0.0-released
[eslint 4.6.0]: https://eslint.org/blog/2017/09/eslint-v4.6.0-released
[ESLINT_USE_FLAT_CONFIG]:
https://redirect.github.com/prettier/eslint-config-prettier#eslint_use_flat_config-environment-variable
[eslint-plugin-babel]:
https://redirect.github.com/babel/eslint-plugin-babel
[eslint-plugin-flowtype]:
https://redirect.github.com/gajus/eslint-plugin-flowtype
[eslint-plugin-prettier]:
https://redirect.github.com/prettier/eslint-plugin-prettier
[eslint-plugin-react]:
https://redirect.github.com/yannickcr/eslint-plugin-react
[eslint-plugin-standard]:
https://redirect.github.com/xjamundx/eslint-plugin-standard
[eslint-plugin-typescript]:
https://redirect.github.com/bradzacher/eslint-plugin-typescript
[eslint-plugin-unicorn]:
https://redirect.github.com/sindresorhus/eslint-plugin-unicorn
[eslint-plugin-vue]: https://redirect.github.com/vuejs/eslint-plugin-vue
[excluding deprecated rules]:
https://redirect.github.com/prettier/eslint-config-prettier/tree/9f6b59486ad742dc12ad3be157ddff5f8454ef7a#excluding-deprecated-rules
[flowtype/boolean-style]:
https://redirect.github.com/gajus/eslint-plugin-flowtype#eslint-plugin-flowtype-rules-boolean-style
[flowtype/object-type-curly-spacing]:
https://redirect.github.com/gajus/eslint-plugin-flowtype#eslint-plugin-flowtype-rules-object-type-curly-spacing
[flowtype/quotes]:
https://redirect.github.com/gajus/eslint-plugin-flowtype#eslint-plugin-flowtype-rules-quotes
[function-call-argument-newline]:
https://eslint.org/docs/rules/function-call-argument-newline
[function-paren-newline]:
https://eslint.org/docs/rules/function-paren-newline
[implicit-arrow-linebreak]:
https://eslint.org/docs/rules/implicit-arrow-linebreak
[indent-legacy]: https://eslint.org/docs/rules/indent-legacy
[linebreak-style]: https://eslint.org/docs/rules/linebreak-style
[lines-around-comment-special]:
https://redirect.github.com/prettier/eslint-config-prettier/blob/5399175c37466747aae9d407021dffec2c169c8b/README.md#lines-around-comment
[lines-around-comment]:
https://eslint.org/docs/rules/lines-around-comment
[max-statements-per-line]:
https://eslint.org/docs/latest/rules/max-statements-per-line
[no-confusing-arrow-special]:
https://redirect.github.com/prettier/eslint-config-prettier/blob/08ac5bcc25c9cdc71864b4a1e4191e7d28dd2bc2/README.md#no-confusing-arrow
[no-confusing-arrow]: https://eslint.org/docs/rules/no-confusing-arrow
[no-floating-decimal]: https://eslint.org/docs/rules/no-floating-decimal
[no-tabs-special]:
https://redirect.github.com/prettier/eslint-config-prettier/blob/dfa6e2b51f11a8001e9e7d38b78f03c7d75175ec/README.md#no-tabs
[no-tabs]: https://eslint.org/docs/rules/no-tabs
[no-unexpected-multiline-special]:
https://redirect.github.com/prettier/eslint-config-prettier/blob/5399175c37466747aae9d407021dffec2c169c8b/README.md#no-unexpected-multiline
[no-unexpected-multiline]:
https://eslint.org/docs/rules/no-unexpected-multiline
[nonblock-statement-body-position]:
https://eslint.org/docs/rules/nonblock-statement-body-position
[one-var-declaration-per-line]:
https://eslint.org/docs/rules/one-var-declaration-per-line
[plugin:prettier/recommended]:
https://redirect.github.com/prettier/eslint-plugin-prettier#recommended-configuration
[prefer-arrow-callback]:
https://eslint.org/docs/rules/prefer-arrow-callback
[prettier-prettier-config]:
https://redirect.github.com/prettier/eslint-config-prettier/tree/03c79b9306892d4dbc828ce723813ef015baabc5#arrow-body-style-and-prefer-arrow-callback
[prettier-self-closing]:
https://prettier.io/blog/2019/06/06/1.18.0.html#stop-converting-empty-jsx-elements-to-self-closing-elements-6127-by-duailibe
[prettier]: https://redirect.github.com/prettier
[quotes-special]:
https://redirect.github.com/prettier/eslint-config-prettier/blob/8d264cd0a7f06c12e2e05415e0282a4f8f21ebc9/README.md#quotes
[quotes]: https://eslint.org/docs/rules/quotes
[react/jsx-child-element-spacing]:
https://redirect.github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-child-element-spacing.md
[react/jsx-closing-tag-location]:
https://redirect.github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-closing-tag-location.md
[react/jsx-curly-newline]:
https://redirect.github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-curly-newline.md
[react/jsx-newline]:
https://redirect.github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-newline.md
[react/jsx-one-expression-per-line]:
https://redirect.github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-one-expression-per-line.md
[react/jsx-props-no-multi-spaces]:
https://redirect.github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-props-no-multi-spaces.md
[react/self-closing-comp]:
https://redirect.github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/self-closing-comp.md
[semi-style]: https://eslint.org/docs/rules/semi-style
[switch-colon-spacing]:
https://eslint.org/docs/rules/switch-colon-spacing
[template-tag-spacing]:
https://eslint.org/docs/rules/template-tag-spacing
[unicode-bom]: https://eslint.org/docs/rules/unicode-bom
[unicorn/empty-brace-spaces]:
https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/empty-brace-spaces.md
[unicorn/no-nested-ternary]:
https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/no-nested-ternary.md
[unicorn/template-indent-special]:
https://redirect.github.com/prettier/eslint-config-prettier/blob/4110dff0c5b258be37506ecee9578cd7ff8e4759/README.md#unicorntemplate-indent
[unicorn/template-indent]:
https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/template-indent.md
[vue/array-element-newline]:
https://redirect.github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/array-element-newline.md
[vue/arrow-spacing]:
https://redirect.github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/arrow-spacing.md
[vue/block-spacing]:
https://redirect.github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/block-spacing.md
[vue/brace-style]:
https://redirect.github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/brace-style.md
[vue/comma-dangle]:
https://redirect.github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/comma-dangle.md
[vue/dot-location]:
https://redirect.github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/dot-location.md
[vue/html-self-closing-special]:
https://redirect.github.com/prettier/eslint-config-prettier/blob/d5e7af986221df5faedc12893d8dc3150a808693/README.md#vuehtml-self-closing
[vue/html-self-closing]:
https://redirect.github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/html-self-closing.md
[vue/keyword-spacing]:
https://redirect.github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/array-bracket-newline.md
[vue/keyword-spacing]:
https://redirect.github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/block-tag-newline.md
[vue/keyword-spacing]:
https://redirect.github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/keyword-spacing.md
[vue/max-len]:
https://redirect.github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/max-len.md
[vue/multiline-ternary]:
https://redirect.github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/multiline-ternary.md
[vue/quote-props]:
https://redirect.github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/quote-props.md
</details>
<details>
<summary>prettier/eslint-plugin-prettier
(eslint-plugin-prettier)</summary>
###
[`v5.5.4`](https://redirect.github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#554)
[Compare
Source](https://redirect.github.com/prettier/eslint-plugin-prettier/compare/v5.5.3...v5.5.4)
##### Patch Changes
-
[#​755](https://redirect.github.com/prettier/eslint-plugin-prettier/pull/755)
[`723f7a8`](https://redirect.github.com/prettier/eslint-plugin-prettier/commit/723f7a803f014746f2146e5be021c9071fa52d7e)
Thanks [@​kbrilla](https://redirect.github.com/kbrilla)! - fix:
add 'oxc', 'oxc-ts' and 'hermes' parsers to `parserBlocklist`
-
[#​751](https://redirect.github.com/prettier/eslint-plugin-prettier/pull/751)
[`cf52b30`](https://redirect.github.com/prettier/eslint-plugin-prettier/commit/cf52b306a533b971bf40bbbf0d2033a1ed4f3c5d)
Thanks [@​andreww2012](https://redirect.github.com/andreww2012)! -
fix: disallow extra properties in rule options
###
[`v5.5.3`](https://redirect.github.com/prettier/eslint-plugin-prettier/releases/tag/v5.5.3)
[Compare
Source](https://redirect.github.com/prettier/eslint-plugin-prettier/compare/v5.5.2...v5.5.3)
republish the latest version
**Full Changelog**:
https://github.com/prettier/eslint-plugin-prettier/compare/v5.5.2...v5.5.3
###
[`v5.5.2`](https://redirect.github.com/prettier/eslint-plugin-prettier/releases/tag/v5.5.2)
[Compare
Source](https://redirect.github.com/prettier/eslint-plugin-prettier/compare/v5.5.1...v5.5.2)
### Changelog
#### 5.5.1
##### Patch Changes
-
[#​748](https://redirect.github.com/prettier/eslint-plugin-prettier/pull/748)
[`bfd1e95`](https://redirect.github.com/prettier/eslint-plugin-prettier/commit/bfd1e9547de9afaaf30318735f2f441c0250b77e)
Thanks [@​JounQin](https://redirect.github.com/JounQin)! - fix:
use `prettierRcOptions` directly for prettier 3.6+
#### 5.5.0
##### Minor Changes
-
[#​743](https://redirect.github.com/prettier/eslint-plugin-prettier/pull/743)
[`92f2c9c`](https://redirect.github.com/prettier/eslint-plugin-prettier/commit/92f2c9c8f0b083a0208b4236cf5c8e4af5612a8b)
Thanks [@​dotcarmen](https://redirect.github.com/dotcarmen)! -
feat: support non-js languages like `css` for `@eslint/css` and `json`
for `@eslint/json`
#### 5.4.1
##### Patch Changes
-
[#​740](https://redirect.github.com/prettier/eslint-plugin-prettier/pull/740)
[`c21521f`](https://redirect.github.com/prettier/eslint-plugin-prettier/commit/c21521ffbe7bfb60bdca8cbf6349fba4de774d21)
Thanks [@​JounQin](https://redirect.github.com/JounQin)! -
fix(deps): bump `synckit` to v0.11.7 to fix potential `TypeError: Cannot
read properties of undefined (reading 'message')` error
#### 5.4.0
##### Minor Changes
-
[#​736](https://redirect.github.com/prettier/eslint-plugin-prettier/pull/736)
[`59a0cae`](https://redirect.github.com/prettier/eslint-plugin-prettier/commit/59a0cae5f27801d7e00f257c6be059a848b32fbe)
Thanks [@​yashtech00](https://redirect.github.com/yashtech00)! -
refactor: migrate `worker.js` to `worker.mjs`
#### 5.3.1
##### Patch Changes
-
[#​734](https://redirect.github.com/prettier/eslint-plugin-prettier/pull/734)
[`dcf2c80`](https://redirect.github.com/prettier/eslint-plugin-prettier/commit/dcf2c8083e0f7146b7b7d641224ee2db8b318189)
Thanks [@​JounQin](https://redirect.github.com/JounQin)! - ci:
enable `NPM_CONFIG_PROVENANCE` env
#### 5.3.0
##### Minor Changes
-
[#​674](https://redirect.github.com/prettier/eslint-plugin-prettier/pull/674)
[`6fe0c90`](https://redirect.github.com/prettier/eslint-plugin-prettier/commit/6fe0c90e277acba301e5a5db445130374d4254ea)
Thanks [@​irsooti](https://redirect.github.com/irsooti)! -
feat(types): prefer `Config` over `FlatConfig` when they're equal
#### 5.2.6
##### Patch Changes
-
[#​723](https://redirect.github.com/prettier/eslint-plugin-prettier/pull/723)
[`1451176`](https://redirect.github.com/prettier/eslint-plugin-prettier/commit/1451176a82fae991c0f4f74adf80af283c3a01c3)
Thanks [@​renovate](https://redirect.github.com/apps/renovate)! -
fix(deps): bump `synckit` to `v0.11.0`
#### 5.2.5
##### Patch Changes
-
[#​721](https://redirect.github.com/prettier/eslint-plugin-prettier/pull/721)
[`4f5513d`](https://redirect.github.com/prettier/eslint-plugin-prettier/commit/4f5513de4ce919c607773fd35d833117a8d8b676)
Thanks [@​JounQin](https://redirect.github.com/JounQin)! - fix:
clarify correct `eslint-config-prettier` peer range
#### 5.2.4
##### Patch Changes
-
[#​715](https://redirect.github.com/prettier/eslint-plugin-prettier/pull/715)
[`b8cfe56`](https://redirect.github.com/prettier/eslint-plugin-prettier/commit/b8cfe56e345a9cd0f0160da91d99b8ee9e37c67e)
Thanks [@​JounQin](https://redirect.github.com/JounQin)! - chore:
hourcekeeping, bump all (dev) deps
#### 5.2.3
##### Patch Changes
-
[#​703](https://redirect.github.com/prettier/eslint-plugin-prettier/pull/703)
[`9c6141f`](https://redirect.github.com/prettier/eslint-plugin-prettier/commit/9c6141f2436de0bf379bef91b30fe1b0bc737cf2)
Thanks [@​BPScott](https://redirect.github.com/BPScott)! - Add
name field to recommended flat config
#### 5.2.2
##### Patch Changes
-
[#​700](https://redirect.github.com/prettier/eslint-plugin-prettier/pull/700)
[`aa5b59f`](https://redirect.github.com/prettier/eslint-plugin-prettier/commit/aa5b59f7d98431bdb9559d079619065f812a2420)
Thanks [@​ntnyq](https://redirect.github.com/ntnyq)! - fix: report
node when loc not found
#### 5.2.1
##### Patch Changes
-
[#​668](https://redirect.github.com/prettier/eslint-plugin-prettier/pull/668)
[`ac036cc`](https://redirect.github.com/prettier/eslint-plugin-prettier/commit/ac036cca2bed4ceb6ee5b63c945426308e36c586)
Thanks [@​OrlovAlexei](https://redirect.github.com/OrlovAlexei)! -
build(deps): Bump synckit from 0.8.6 to 0.9.1
#### 5.2.0
##### Minor Changes
-
[#​652](https://redirect.github.com/prettier/eslint-plugin-prettier/pull/652)
[`f170011`](https://redirect.github.com/prettier/eslint-plugin-prettier/commit/f1700110b4c50f43bbda8dba51ce9e22248939fa)
Thanks [@​Logicer16](https://redirect.github.com/Logicer16)! -
feat: support parsing `html` via `@html-eslint/parser` natively
#### 5.1.3
##### Patch Changes
-
[#​629](https://redirect.github.com/prettier/eslint-plugin-prettier/pull/629)
[`985b33c`](https://redirect.github.com/prettier/eslint-plugin-prettier/commit/985b33c56f146b2e65ae391a3af57f63b07ecbdf)
Thanks [@​JounQin](https://redirect.github.com/JounQin)! - chore:
add `package.json` into `exports` map
#### 5.1.2
##### Patch Changes
-
[#​623](https://redirect.github.com/prettier/eslint-plugin-prettier/pull/623)
[`8210e44`](https://redirect.github.com/prettier/eslint-plugin-prettier/commit/8210e44309b168c7c06185eae8249b2d0eb65815)
Thanks [@​BPScott](https://redirect.github.com/BPScott)! - Add
exports mapping to package.json, to allow `import
eslintPluginRecommended from 'eslint-plugin-prettier/recommended'` to
work as expected.
Strictly speaking this is a breaking change as it removes the ability
for people to import from "eslint-plugin-prettier/eslint-plugin-p
</details>
---
### Configuration
📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, on day
1 of the month ( * 0-3 1 * * ) (UTC), Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/usimd/pi-gen-action).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzEuOSIsInVwZGF0ZWRJblZlciI6IjQxLjEzMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0ZXN0Il19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [@vercel/ncc](https://redirect.github.com/vercel/ncc) | [`0.38.3` -> `0.38.4`](https://renovatebot.com/diffs/npm/@vercel%2fncc/0.38.3/0.38.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vercel/ncc (@​vercel/ncc)</summary> ### [`v0.38.4`](https://redirect.github.com/vercel/ncc/releases/tag/0.38.4) [Compare Source](https://redirect.github.com/vercel/ncc/compare/0.38.3...0.38.4) ##### Bug Fixes - **cjs-build:** enable evaluating import.meta in cjs build ([#​1236](https://redirect.github.com/vercel/ncc/issues/1236)) ([e72d34d](https://redirect.github.com/vercel/ncc/commit/e72d34d97e7cb2348af19993b6cdb6fec5374ac9)), closes [/github.com/vercel/ncc/pull/897#discussion\_r836916315](https://redirect.github.com//github.com/vercel/ncc/pull/897/issues/discussion_r836916315) [#​1019](https://redirect.github.com/vercel/ncc/issues/1019) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/openmcp-project/blueprint-workflows). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzEuOSIsInVwZGF0ZWRJblZlciI6IjQxLjEzMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.19.0` -> `20.19.19`](https://renovatebot.com/diffs/npm/@types%2fnode/20.19.0/20.19.19) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@vercel/ncc](https://redirect.github.com/vercel/ncc) | [`0.38.3` -> `0.38.4`](https://renovatebot.com/diffs/npm/@vercel%2fncc/0.38.3/0.38.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [eslint-plugin-jsonc](https://ota-meshi.github.io/eslint-plugin-jsonc/) ([source](https://redirect.github.com/ota-meshi/eslint-plugin-jsonc)) | [`2.20.1` -> `2.21.0`](https://renovatebot.com/diffs/npm/eslint-plugin-jsonc/2.20.1/2.21.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://redirect.github.com/microsoft/TypeScript)) | [`5.8.3` -> `5.9.3`](https://renovatebot.com/diffs/npm/typescript/5.8.3/5.9.3) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vercel/ncc (@​vercel/ncc)</summary> ### [`v0.38.4`](https://redirect.github.com/vercel/ncc/releases/tag/0.38.4) [Compare Source](https://redirect.github.com/vercel/ncc/compare/0.38.3...0.38.4) ##### Bug Fixes - **cjs-build:** enable evaluating import.meta in cjs build ([#​1236](https://redirect.github.com/vercel/ncc/issues/1236)) ([e72d34d](https://redirect.github.com/vercel/ncc/commit/e72d34d97e7cb2348af19993b6cdb6fec5374ac9)), closes [/github.com/vercel/ncc/pull/897#discussion\_r836916315](https://redirect.github.com//github.com/vercel/ncc/pull/897/issues/discussion_r836916315) [#​1019](https://redirect.github.com/vercel/ncc/issues/1019) </details> <details> <summary>ota-meshi/eslint-plugin-jsonc (eslint-plugin-jsonc)</summary> ### [`v2.21.0`](https://redirect.github.com/ota-meshi/eslint-plugin-jsonc/blob/HEAD/CHANGELOG.md#2210) [Compare Source](https://redirect.github.com/ota-meshi/eslint-plugin-jsonc/compare/v2.20.1...v2.21.0) ##### Minor Changes - [#​426](https://redirect.github.com/ota-meshi/eslint-plugin-jsonc/pull/426) [`efc00a6`](https://redirect.github.com/ota-meshi/eslint-plugin-jsonc/commit/efc00a613a78f2f15b6b9815b783bf92a3f838a5) Thanks [@​ota-meshi](https://redirect.github.com/ota-meshi)! - feat(sort-array-values): improve to calculate the minimum edit distance for sorting and report the optimal sorting direction - [#​426](https://redirect.github.com/ota-meshi/eslint-plugin-jsonc/pull/426) [`efc00a6`](https://redirect.github.com/ota-meshi/eslint-plugin-jsonc/commit/efc00a613a78f2f15b6b9815b783bf92a3f838a5) Thanks [@​ota-meshi](https://redirect.github.com/ota-meshi)! - feat(sort-keys): improve to calculate the minimum edit distance for sorting and report the optimal sorting direction </details> <details> <summary>microsoft/TypeScript (typescript)</summary> ### [`v5.9.3`](https://redirect.github.com/microsoft/TypeScript/compare/v5.9.2...c63de15a992d37f0d6cec03ac7631872838602cb) [Compare Source](https://redirect.github.com/microsoft/TypeScript/compare/v5.9.2...v5.9.3) ### [`v5.9.2`](https://redirect.github.com/microsoft/TypeScript/compare/v5.8.3...5be33469d551655d878876faa9e30aa3b49f8ee9) [Compare Source](https://redirect.github.com/microsoft/TypeScript/compare/v5.8.3...v5.9.2) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/Lendable/sloth). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzEuOSIsInVwZGF0ZWRJblZlciI6IjQxLjE0My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [@vercel/ncc](https://redirect.github.com/vercel/ncc) | [`0.38.3` -> `0.38.4`](https://renovatebot.com/diffs/npm/@vercel%2fncc/0.38.3/0.38.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vercel/ncc (@​vercel/ncc)</summary> ### [`v0.38.4`](https://redirect.github.com/vercel/ncc/releases/tag/0.38.4) [Compare Source](https://redirect.github.com/vercel/ncc/compare/0.38.3...0.38.4) ##### Bug Fixes - **cjs-build:** enable evaluating import.meta in cjs build ([#​1236](https://redirect.github.com/vercel/ncc/issues/1236)) ([e72d34d](https://redirect.github.com/vercel/ncc/commit/e72d34d97e7cb2348af19993b6cdb6fec5374ac9)), closes [/github.com/vercel/ncc/pull/897#discussion\_r836916315](https://redirect.github.com//github.com/vercel/ncc/pull/897/issues/discussion_r836916315) [#​1019](https://redirect.github.com/vercel/ncc/issues/1019) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/openmcp-project/blueprint-workflows). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNDMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE0My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Steffen <[email protected]>
I'm affected by webpack/webpack#14445, fixed in webpack/webpack#15246, available in webpack >= v5.68.0, so I'd love to have an ncc version using webpack >= v5.68.0!
EDIT: Forgot to actually set the corresponding config option at first, added that in f19ab9c.