Closed gianpaj closed 9 years ago
@gianpaj Aside from pedantic syntax tweaks, what does this improve?
It's about making the code more consistent, easy to read and maintainable.
I'm not intending to impose my style preferences on other people's code or projects; perhaps this should raise a conversation a common style guide. Should this have one? If so it should be respected.
I like the idea of enforcing a style generally although in changing it we will differ from the style of the internal shell code (which i don't believe has consistency or style guidelines)
Shouldn't the .jshintrc be included in this pull request?
Bump
@gianpaj I like this but we need some different defaults. These are clearly not appropriate:
// Define globals exposed by modern browsers.
"browser": true,
// Define globals exposed by jQuery.
"jquery": true,
// Define globals exposed by Node.js.
"node": true,
sorry for the delay. I've added the .jshintrc
file and fixed those settings.
The master branch has changed since I did this pull request, should I pull the changes in my branch and fix the merge conflicts or a make a new pull request?
closing as I believe it's not an important issue
Using an inspired version of Airbnb's javacript style guide: