eslint checks syntax/jsdoc, jscs checks style. Run them via scripts chan...

...ge.

Here is a thought to employ eslint for syntax and jdoc3 checking.

ESLint has the nice feature to easily switch a rule from a warning to an error and vice versa.

jscs is useful since ESLint (like jshint as of v2.5.0) does not check for coding style like indentation, trailing or embedded whitespace. It's also highly configurable, so my config choices are just a start, mostly in line with my recent work in
https://github.com/mdn/addon-sdk-content-scripts/pull/2
and
https://github.com/mdn/addon-sdk-content-scripts/pull/3

I'm curious how you like this.

Adrian