rbjks / rbjks.github.io

Info website for an NGO 'Ranjeet Bakhshi Jan Kalyan Sabha' which aims to empower local communities in Himachal Pradesh
https://rbjks.github.io/
11 stars 37 forks source link

feat: add Prettier #72

Closed b-mendoza closed 9 months ago

b-mendoza commented 10 months ago

Adds Prettier as a code formatter, and Husky and Lint-Staged to run Prettier on the staged files before committing them.

Motivation and Context

Code consistency.

Fixes https://github.com/rbjks/rbjks.github.io/issues/65

Description

How Has This Been Tested?

The changes were tested locally using the Live Server extension, and the browser console was checked for any errors.

Types of Changes

Checklist:

agriyakhetarpal commented 10 months ago

Thanks for the PR, @b-mendoza—it is a bit big but I guess a lot of it is just formatting stuff and related changes—will review this after the new year!

agriyakhetarpal commented 9 months ago

Please feel free to open an issue where we can discuss any further things to be taken care of @adityaraute (besides the instructions for contributors)

adityaraute commented 9 months ago

Please feel free to open an issue where we can discuss any further things to be taken care of @adityaraute (besides the instructions for contributors)

I thought that's precisely why we need another issue - for the contribution guidelines