RyanRussell00 / personal-dj

Personal DJ site that creates playlists given custom inputs. View it live at: http://personaldj.net/
http://personaldj.net/
MIT License
25 stars 12 forks source link

Add git-hook for applying prettier to the code #34

Closed astriskit closed 4 years ago

astriskit commented 4 years ago

Is your feature request related to a problem? Please describe.

Code formatting is missing. A standard format of code would provide better code readability which would add to the longevity of the project too.

Describe the solution you'd like

Nice article showing the steps -

Steps:

  1. Use git-hooks
  2. Add prettier dependency
  3. Configure git-hook to run prettier before/while pushing to the remote

Describe alternatives you've considered

n/s

Additional context

Interesting reads regarding this -

astriskit commented 4 years ago

With the hope that the added PR will benefit the project - closing this issue; But, please feel free to reopen it, if the "prettier-ed" thing poses issue.