cs10 / Alonzo

Alonzo is the helpful (and slightly sassy) bot for CS10. He's also our mascot.
http://alonzo.herokuapp.com
5 stars 2 forks source link

Do a style pass over all files #87

Open cycomachead opened 8 years ago

aaaschmitt commented 8 years ago

1d8ce5f At least the ones in the cs10 directory are style tooled. Using JsFormat plugin for sublime. I'm planning on setting up a build system so that this gets done automatically in the future.

cycomachead commented 8 years ago

We should discuss style... :P

And I want to fix up other files.

aaaschmitt commented 8 years ago

what the status of this. I really think we should agree on a tool for style and just use it. I think I'm using JsBeautify or something

cycomachead commented 8 years ago

I have an ESLint configure file in the repo which is think is decent. We can have it --fix stuff for us too. But I haven't messed with it in a while.

aaaschmitt commented 8 years ago

@cycomachead please come up with a tool that you like so we can check this issue off the list. What I envision is a script that we can run locally that will clean up all files. The idea is that people just need to try to run this before they commit and if they forgot it's not a big deal. We just need to agree on some sort of style thing so we're consistent.

cycomachead commented 8 years ago

Have you seen eslint ?

There's a WIP config file in the repo. but it needs editing, I think.

cycomachead commented 8 years ago

http://eslint.org