-1

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?

Operator
  • 504
  • 8
  • 17

1 Answers1

3

Did you try this?

/** 
* Just a function
* 
* @param {Object} param
*/
function foo(param) {
    return param;
}
Roman Dibikhin
  • 856
  • 4
  • 15