mirkoperillo / resting

A visual HTTP client browser extension
https://resting.owlcode.eu/
GNU General Public License v3.0
27 stars 12 forks source link

Run prettier formatter through entire repo #189

Closed nikhilraojl closed 1 year ago

nikhilraojl commented 1 year ago

Ignored:

Closes #187

nikhilraojl commented 1 year ago

Can ignore additional files if preferred.

mirkoperillo commented 1 year ago

@nikhilraojl I have to ask you some improvements:

Thank you so much for your help, I very appreciate it.

nikhilraojl commented 1 year ago

@mirkoperillo

I am not sure where to add README instructions so I wrote them below. Please suggest changes and where to include the instructions.

Instructions for vscode(These options should be similar if you are using a different editor)

  1. This project uses prettier for code formatting, kindly run this formatter before pushing any changes
  2. To run the formatter, install the prettier extension and set it as default formatter
  3. Now use manual format document with option or turn on format on save option to automatically format files when saved
  4. Alternatively, install prettier cli (instructions here) and use command prettier --write src to format files with single command
mirkoperillo commented 1 year ago

@nikhilraojl good work

I am not sure where to add README instructions so I wrote them below. Please suggest changes and where to include the instructions.

I think a good place could be Project Setup section of https://github.com/mirkoperillo/resting/blob/master/CONTRIBUTING.md

nikhilraojl commented 1 year ago

I think a good place could be Project Setup section of https://github.com/mirkoperillo/resting/blob/master/CONTRIBUTING.md

Updated CONTRIBUTING.md