Example straight from the JSDoc docs:
// foo.js
/**
* Creates a new Person.
* @class
*/
function Person() {
}
var p = new Person();
Output from JSCS Grunt task:
Running "jscs:lib" (jscs) task
incomplete data in tag class at src/foo.js :
1 |/**
2 | * Creates a new Person.
3 | * @class
-----------^
4 | */
5 |function Person() {
Relevant portion of .jscsrc:
"plugins": [
"jscs-jsdoc"
],
"jsDoc": {
"checkAnnotations": "jsdoc3",
"checkParamNames": true,
"checkRedundantParams": true,
"requireParamTypes": true
}
Relevant versions in use:
Example straight from the JSDoc docs:
Output from JSCS Grunt task:
Relevant portion of
.jscsrc:Relevant versions in use: