We have outsourced the html and css design to an external company. We want to make sure the quality of code is good. What benchmarks can we set to achieve this.
migrated from codereview.stackexchange.com Nov 2 '11 at 0:11
This question came from our site for peer programmer code reviews.
Use lint tools:
The source for css lint is also available at github and according to their docs, html lint should be available soon. The advantages of using the source are:
Have a coding standard for both CSS and HTML and ensure that they're given to your outsourcers. Ensure that deviations from your standard are followed up on and the work rejected. Make sure that you follow this rigidly. As time goes on, one would hope that you get less errors, but the more you allow (especially early on), the more frequent (and worse) they can become.
Make sure you specify in the contract what you will validate.