Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

chore: Fix prettier inconsistencies from duplicate versions #651

Merged
merged 2 commits into from
May 4, 2022

Conversation

mayank99
Copy link
Contributor

@mayank99 mayank99 commented May 3, 2022

After #613, we had two different versions of prettier in the lockfile. One of them was being used for IDE save and prettier --write, and a different one was being used for lint-staged. This led to random unintended formatting changes like in #636 (comment) and #648 (comment).

So I deduped the prettier versions in our lockfile and ran yarn prettier against the repo and also verified that lint-staged doesn't break anything on committing. The only resulting formatting change is in ComboBox.tsx, reverting the unintended one from #636.

@mayank99 mayank99 requested a review from a team as a code owner May 3, 2022 17:43
@mayank99 mayank99 requested review from a team, veekeys and elephantcatdog and removed request for a team May 3, 2022 17:43
yarn.lock Show resolved Hide resolved
@mayank99 mayank99 merged commit 1ffd17d into main May 4, 2022
@mayank99 mayank99 deleted the mayank/prettier branch May 4, 2022 14:21
mayank99 added a commit to iTwin/iTwinUI that referenced this pull request Dec 21, 2022
…winUI-react#651)

deduped the prettier versions in our lockfile to avoid conflicts, and ran yarn prettier against the repo
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants