reactjs / react-tutorial

Code from the React tutorial.
http://facebook.github.io/react/docs/tutorial.html
Other
3.29k stars 2.13k forks source link

remove unexpected trailing comma to resolve lint error #131

Closed wuman closed 8 years ago

wuman commented 8 years ago

Remove an unexpected trailing comma in server.js to resolve a lint error.

zpao commented 8 years ago

We like to include the trailing commas so we're going to leave this as is. I'm sorry this conflicts with your linter (we don't have one set up here for this repository since it's mostly static and doesn't change often).

wuman commented 8 years ago

Just out of curiosity what lint tool are you guys using internally?

sophiebits commented 8 years ago

We use eslint; you can see the config we have set up in the React repo.