ClimbAssist / ClimbAssistUI

Front-end UI supporting climbassist.com
GNU Affero General Public License v3.0
10 stars 3 forks source link

Add prettier for code formatting #15

Open mikeldking opened 4 years ago

mikeldking commented 4 years ago

I think adding prettier as a dev dependency could really help with consistency. This would be a good first issue for me?

buyeno commented 4 years ago

yeah, that's fine it just formats when you commit changes right?

mikeldking commented 4 years ago

Right, I can setup a git hook to do that. I typically just have it setup to run on save on my editor.

buyeno commented 4 years ago

ya same, I switched to vscode and the prettier formatting is different than atom's defaults so the files that haven't been changed recently aren't consistent 🤷