[OpenLayers-Dev] coding style best practices

Christopher Schmidt crschmidt at metacarta.com
Mon Oct 1 20:57:03 EDT 2007


On Mon, Oct 01, 2007 at 08:46:43PM -0400, Paul Spencer wrote:
> Somewhat unrelated to coding standards, what do you think about using  
> jslint, perhaps as a pre-commit hook?  There are a couple of places  
> that jslint gives warnings about in OpenLayers that are probably not  
> necessary to fix (regular expressions I think), but I did find a  
> number of missing semi-colons just working on the transition stuff.

Pre- or post-commit hooks I'm trying to limit -- too many ways to fail,
too much chance of getting caught up on the server bombing out.

Our commit process is rigorous enough that it typically catches any bugs
that affect behavior -- running the tests in multiple browsers will do
that. 

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Dev mailing list