X-lab2017 / open-leaderboard

OpenLeaderboard
https://open-leaderboard.x-lab.info
21 stars 23 forks source link

[Dev] `prettier` should be enabled in this project ASAP to keep code formatted in same rulse #55

Closed tyn1998 closed 1 year ago

tyn1998 commented 1 year ago
image

Hi guys, I think we should employ a code formatter such as prettier ASAP :)

tyn1998 commented 1 year ago

These 3 configuration files in Hypercrx might help:

Format tools supported by your IDE like VSCode will format code according to rules given by .prettierrc.

Also put it to package.json so you can run npm run prettier to quickly format all your code.

@wj23027 @andyhuang18 you can have a try 🚀

wj23027 commented 1 year ago

I can try it~

andyhuang18 commented 1 year ago

Copy that!