SFC-foundations icon indicating copy to clipboard operation
SFC-foundations copied to clipboard

Add Prettier for Code formatting

Open gnikita432 opened this issue 3 years ago • 4 comments

Issue Type:

[ ] Bug Report [x] Feature Request [ ] Documentaion

Describe the bug

  • Installing and setting up prettier will help to format the code automatically on saving. Many contributor contributes to the project and may do some bad code formatting practices like adding unwanted extra space lines or not adding proper space so prettier will be useful for perfectly structured and easy to read code. Prettier will follow one pattern and format the code accordingly on saving. basically Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary. More info: https://prettier.io/docs/en/why-prettier.html
  • Adding prettier will make the code clean and structured.

Possible solution

  • I would like to add prettier to the project.

Screenshots

  • If applicable, add screenshots to help explain your problem.

gnikita432 avatar Apr 30 '21 03:04 gnikita432

Please add a good brief description

himanshu007-creator avatar Apr 30 '21 03:04 himanshu007-creator

Yes, I have added now.

gnikita432 avatar Apr 30 '21 03:04 gnikita432

Please add a good brief description

Please go for this when I clean our codebase !

rohan-kulkarni-25 avatar Apr 30 '21 04:04 rohan-kulkarni-25

Okay, thank you. Please let me know after you clean the codebase.

gnikita432 avatar May 04 '21 09:05 gnikita432