Chore(deps-dev): Bump prettier from 2.2.1 to 3.7.3 in /website#794
Chore(deps-dev): Bump prettier from 2.2.1 to 3.7.3 in /website#794dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [prettier](https://github.com/prettier/prettier) from 2.2.1 to 3.7.3. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@2.2.1...3.7.3) --- updated-dependencies: - dependency-name: prettier dependency-version: 3.7.3 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
| "husky": "4.3.8", | ||
| "next": "^12.3.1", | ||
| "prettier": "2.2.1" | ||
| "prettier": "3.7.3" |
There was a problem hiding this comment.
Bug: prettier@3.7.3 is incompatible with eslint-config-prettier@7.0.0, causing linting and formatting failures.
Severity: CRITICAL | Confidence: High
🔍 Detailed Analysis
Upgrading prettier to 3.7.3 in website/package.json while eslint-config-prettier remains at 7.0.0 will cause linting and formatting failures. eslint-config-prettier@7.0.0 is designed for prettier@2.x, whereas prettier@3.x requires eslint-config-prettier@8.0.0 or higher. This incompatibility will lead to npm run lint, npm run format, pre-commit hooks, and CI/CD pipelines failing.
💡 Suggested Fix
Upgrade eslint-config-prettier to 8.0.0 or higher to support prettier@3.7.3. Alternatively, revert prettier to a 2.x version.
🤖 Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.
Location: website/package.json#L11
Potential issue: Upgrading `prettier` to `3.7.3` in `website/package.json` while
`eslint-config-prettier` remains at `7.0.0` will cause linting and formatting failures.
`eslint-config-prettier@7.0.0` is designed for `prettier@2.x`, whereas `prettier@3.x`
requires `eslint-config-prettier@8.0.0` or higher. This incompatibility will lead to
`npm run lint`, `npm run format`, pre-commit hooks, and CI/CD pipelines failing.
Did we get this right? 👍 / 👎 to inform future reviews.
Reference ID: 4400130
|
Superseded by #796. |
Bumps prettier from 2.2.1 to 3.7.3.
Release notes
Sourced from prettier's releases.
... (truncated)
Changelog
Sourced from prettier's changelog.
... (truncated)
Commits
fdfa670Release 3.7.32dce3ecFix typo27d6c64Revert previous change togetFileInfo(#18375)f4a7afaAdd types for config related functions (#18376)9266e3eAdd resolved test cases (#18358)3bfc014Bump Prettier dependency to 3.7.2081b846Clean changelog_unreleased03384c9Release 3.7.2514e51aRelease@prettier/plugin-hermes&@prettier/plugin-oxcv0.1.229a11aeFix comment in empty type literal (#18364)Maintainer changes
This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for prettier since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)