jbampton opened a new issue, #358:
URL: https://github.com/apache/tooling-trusted-releases/issues/358

   https://prettier.io/docs/why-prettier
   
   refs #347 
   
   https://prettier.io/
   
   "Prettier is an opinionated code formatter that enforces a consistent style 
by automatically reformatting code based on its own rules."
   
   So we use a "local" pre-commit hook to run prettier on Apache Sedona:
   
   
https://github.com/apache/sedona/blob/47ed183357adc13148e6f66be334f91cffa922fd/.pre-commit-config.yaml#L45
   
   Also I setup this on mruby which also formats Markdown:
   
   https://github.com/mruby/mruby/blob/master/.pre-commit-config.yaml#L20
   
   Example `.prettierignore` file:
   
   https://github.com/apache/sedona/blob/master/.prettierignore
   
   Example prettier config
   
   https://github.com/apache/sedona/blob/master/.prettierrc
   
   Official docs
   
   https://prettier.io/docs/configuration.html
   
   https://prettier.io/docs/options
   
   It does support Typescript, Markdown formats and many others


-- 
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