Formatting your code can be a hassle. Learn how to have your code automatically formatted to save yourself a lot of time and headache!
For big opensource projects on web technologies, the problem arises many times with unnecessary indentation changes in commits. Auto Code Formatters are used to format the code so that the unnecessary indentation changes go away.
Prettier is one of the most popular code formatters. In this tutorial, I have tried to give the demo on how to integrate prettier for react application so that for each commit to the repository, prettier will format the code.
Github Repository for Code: https://github.com/ashutosh1919/prett...
Prettier: https://prettier.io/
Follow me on below social media,
Discord: / discord
LinkedIn: / ashutosh-hathidara-88710b138
Github: https://github.com/ashutosh1919
Behance: https://www.behance.net/devsense19
Dribble: https://dribbble.com/ashutosh1919
Facebook: / laymanbrother.19
Instagram: / developer_sense
YouTube : / devsense19
Patreon: / devsense
To know more about me,
Checkout my website https://ashutoshhathidara.com/
Drop me mail if you need any help,
[email protected]
#code #web #formatting