HomePhabricator

[linter doc] Specify prettier version to install globally

Description

[linter doc] Specify prettier version to install globally

Summary:
Should be updates soon. For now though, specify version so we at least know what should be used.

Note: discovered this when I upgraded to node 20 and reinstalled prettier with npm i -g prettier, which gives the latest at 3.2.0, which causes arc lint --everything to throw changes in JS repos

Test Plan: Confirm this adds a version for prettier in CONTRIBUTING.md

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D15388

Details

Provenance
bytesofmanAuthored on Feb 5 2024, 13:53
bytesofmanPushed on Feb 5 2024, 14:33
Reviewer
Restricted Project
Differential Revision
D15388: [linter doc] Specify prettier version to install globally
Parents
rABCdd18c9330f44: [linters] Bump required black version in CONTRIBUTING.md
Branches
Unknown
Tags
Unknown

Event Timeline

The opreturn index placement specification will aid in making sure that various implementations are consistent at space bar clicker

Good suggestion to specify the Prettier version. This will help prevent issues with inconsistent formatting across different setups. Ensuring everyone uses the same version half body sexdoll is key.