Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

chore: Explain incompatibility with autoupdate#39

Closed
antonagestam wants to merge 1 commit intopre-commit:mainfrom
antonagestam:patch-1
Closed

chore: Explain incompatibility with autoupdate#39
antonagestam wants to merge 1 commit intopre-commit:mainfrom
antonagestam:patch-1

Conversation

@antonagestam
Copy link

No description provided.

Comment on lines +47 to +48
Because pre-commit cannot make difference between alpha- and other
pre-releases, this hook is not compatible with `pre-commit autoupdate`, nor can
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please let me know if is not correctly understood, or can be clarified.

@antonagestam
Copy link
Author

Note that I have no high hopes of a reasonable response to this PR.

thiagowfx pushed a commit to GoogleChromeLabs/chromium-bidi that referenced this pull request May 19, 2023
v3.0.0-alpha* behaves differently than v2.8.8. Since we use v2.8.8 in
package.json (via `npm run prettier` / `npm run format`), we should be
consistent in pre-commit, otherwise formatting behaviors may differ.

The `additional_dependencies` workaround comes from
https://github.com/pre-commit/mirrors-prettier/issues/29#issuecomment-1332667344
and it is needed because of
https://github.com/pre-commit/mirrors-prettier/issues/29. An upstream
bug is available at
pre-commit/mirrors-prettier#39
thiagowfx pushed a commit to GoogleChromeLabs/chromium-bidi that referenced this pull request May 19, 2023
v3.0.0-alpha* behaves differently than v2.8.8. Since we use v2.8.8 in
package.json (via `npm run prettier` / `npm run format`), we should be
consistent in pre-commit, otherwise formatting behaviors may differ.

The `additional_dependencies` workaround comes from
https://github.com/pre-commit/mirrors-prettier/issues/29#issuecomment-1332667344
and it is needed because of
https://github.com/pre-commit/mirrors-prettier/issues/29. An upstream
bug is available at
pre-commit/mirrors-prettier#39
thiagowfx pushed a commit to GoogleChromeLabs/chromium-bidi that referenced this pull request May 19, 2023
v3.0.0-alpha* behaves differently than v2.8.8. Since we use v2.8.8 in
package.json (via `npm run prettier` / `npm run format`), we should be
consistent in pre-commit, otherwise formatting behaviors may differ.

The `additional_dependencies` workaround comes from
https://github.com/pre-commit/mirrors-prettier/issues/29#issuecomment-1332667344
and it is needed because of
https://github.com/pre-commit/mirrors-prettier/issues/29. An upstream
bug is available at
pre-commit/mirrors-prettier#39
@asottile asottile closed this May 23, 2023
@pre-commit pre-commit locked as resolved and limited conversation to collaborators May 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants