Closed a-x- closed 9 years ago
Thank you for reporting. Could you post the code (i.e. the complete comment and function) generating this error here?
Of course! I created minimal affecting example:
var o = {
/**
* Вписать картинку в экран по ширине или по высоте
* @param {Number} size.width - ширина картинки
* @param {Number} size.height - высота картинки
*/
setThumbSize: function(size) {
// do some stuff
}
};
jscs -V 1.11.3
Oh, i'm sorry, this is mine.
Correct approach is adding @param size
too.
/**
* @param {Object} size - данные картинки
* @param {Number} size.width - ширина картинки
* @param {Number} size.height - высота картинки
*/
Thank you!
Hi guys, I have a problem with jscs:
As i understang, this is not correct. Right?
See here our jscs config.
Thank you!
Excuse my beginner's English.