I'm using the jscs linter. I get this error writing a standard function like this
function foo (param) {
return param;
}
What could be the problem here?
Did you try this?
/**
* Just a function
*
* @param {Object} param
*/
function foo(param) {
return param;
}