chore: downgrade prettier-eslint to match prettier version#26145
chore: downgrade prettier-eslint to match prettier version#26145HowardBraham merged 3 commits intoMetaMask:developfrom
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
|
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@types/eslint@8.44.8, npm/@types/prettier@2.7.2, npm/@typescript-eslint/types@5.59.6, npm/@typescript-eslint/typescript-estree@5.59.6, npm/@typescript-eslint/visitor-keys@5.59.6, npm/prettier-eslint@16.3.0, npm/vue-eslint-parser@9.4.2 |
yarn.lock
Outdated
There was a problem hiding this comment.
While this pulls back typescript to v4 again, it's also technically already a missing peerDependency of @metamask/eslint-config-typescript.
Updating @metamask/eslint-config-typescript, and prettier to v3, will properly remove TS v4.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #26145 +/- ##
========================================
Coverage 70.12% 70.12%
========================================
Files 1434 1434
Lines 50285 50285
Branches 13890 13890
========================================
Hits 35259 35259
Misses 15026 15026 ☔ View full report in Codecov by Sentry. |
2e7bb1f to
4d4f2d5
Compare
|
I would like to tackle the Prettier v3 upgrade soon, but let's stay consistent in the meantime. Good catch |
4d4f2d5 to
970124e
Compare
970124e to
e415f99
Compare
|
👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎ This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
16388d4 to
8aeceb1
Compare
Prettier 3 isn't compatible with |
8aeceb1 to
937f974
Compare
|
No release label on PR. Adding release label release-12.5.0 on PR, as PR was added to branch 12.5.0 when release was cut. |
Description
#23106 added a version of
prettier-eslintwhich uses prettier v3. This project otherwise uses prettier v2. This downgrades the package to the latest version still supporting prettier v2.Related issues
.prettierignorefile #24828Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist