webstorm - IntelliJ JSDoc block + ESLint valid-jsdoc -
here simple function auto-generated docblock webstorm:
/** * * @param * @param b * @returns {string} */ function foo(a, b) { return "ad"; }
this considered "invalid" eslint valid-jsdoc because @param
don't have type, i.e. should have been:
/** * * @param {some-type} * @param {some-type} b * @returns {string} */ function foo(a, b) { return "ad"; }
i cannot figure out how fix this. appreciated
wiki
Comments
Post a Comment