jupyterhub / binderhub

Run your code in the cloud, with technology so advanced, it feels like magic!
https://binderhub.readthedocs.io
BSD 3-Clause "New" or "Revised" License
2.57k stars 390 forks source link

Enable prettier on JS & CSS as well #1759

Closed yuvipanda closed 1 year ago

yuvipanda commented 1 year ago

While the pre-existing comment suggested using 4-space indents, prettier ships by default with 2 space indents for JS & CSS. I looked at the JS code shipped in JupyterHub as well as JupyterLab, and found they are also using 2 space indents. So I would suggest we just use two space indents here.

yuvipanda commented 1 year ago

Nah, I'll come back to this later.