cj-zhukov commented on PR #20167:
URL: https://github.com/apache/datafusion/pull/20167#issuecomment-3853088418

   ### High-level overview
   This PR standardizes the Prettier version used across DataFusion’s 
documentation-related scripts.
   
   During the review, I identified several scripts in both `dev/` and `ci/` 
directories that invoked Prettier with different pinned versions. To remove 
this inconsistency, the scripts were updated to define a local 
`PRETTIER_VERSION` variable and use the same Prettier version everywhere.
   
   The chosen approach keeps the solution intentionally simple:
   - no new shared scripts or infrastructure were introduced
   - existing script behavior remains unchanged
   - all Prettier invocations are now aligned to a single version
   
   This provides consistent formatting behavior across local workflows and CI, 
while keeping the change minimal and easy to review.
   
   As a future improvement, the Prettier version could be centralized (for 
example, via a shared script or config) if additional tooling versions need to 
be managed in a similar way. For now, keeping the version local to each script 
avoids adding new dependencies and keeps the scope focused.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to