Hi,
I was curious about the jscs and jshint usage in cordova repos. Seems like in 
cordova-lib we currently have:

-          jscs rules in cordova-lib\cordova-lib

-          individual jshint rules on some js files under 
cordova-lib\cordova-lib

-
While jscs rules are set, it's currently not plugged into `npm test`. Do we 
have a policy in place to enforce these rules? If so I should add it to 
packages.json or just remove the config file.

Regarding individual jshint rules on files, should we migrate to having one 
.jshintrc file on the base folder (and exclude node_modules). We can then add 
individual flags on files if they are necessary to do so and catch any 
potentially non-hinted files (ex. many files are non-hinted spec-cordova\*) 
According to CB-6973 the following jshint config can be the master rule:
/* jshint node:true, bitwise:true, undef:true, trailing:true, quotmark:true,
indent:4, unused:vars, latedef:nofunc
*/

Any thoughts?

Thanks,
Murat

Reply via email to