[openstack-dev] [horizon] Javascript checkstyle improvement
Maxime Vidori
maxime.vidori at enovance.com
Fri Dec 27 14:52:44 UTC 2013
Hi all,
I send this mail to talk about Javascript coding style improvement, like python has pep8, it could be interesting to have some rules for javascript too. JSHint provides some rules to perform this and I think it could be a great idea to discuss about which rules could be integrated into Horizon.
According to http://www.jshint.com/docs/options/ here is a list of the rules which seems interesting:
- bitwise
- curly
- eqeqeq
- forin
- latedef
- noempty
- undef
- unused with vars
- trailing
Here is a second list of options which can be integrated but need some discussion before:
- camelcase
- quotmark
I already made a first patch for the indentation: https://review.openstack.org/#/c/64272/
More information about the OpenStack-dev
mailing list