You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** * Checks if the XML document sort of equals another XML document. * @param {Object} obj The other object. * @param {{includeWhiteSpace: (boolean|undefined), * ignoreElementOrder: (boolean|undefined)}} [options] The options. * @return {expect.Assertion} The assertion. */expect.Assertion.prototype.xmleql=function(obj,options){if(obj&&obj.nodeType==9){obj=obj.documentElement;}if(this.obj&&this.obj.nodeType==9){this.obj=this.obj.documentElement;}consterrors=[];assertElementNodesEqual(obj,this.obj,options,errors);constresult=errors.length===0;this.assert(!!result,function(){return('expected '+expect.stringify(this.obj)+' to sort of equal '+expect.stringify(obj)+'\n'+errors.join('\n'));},function(){return('expected '+expect.stringify(this.obj)+' to sort of not equal '+expect.stringify(obj)+'\n'+errors.join('\n'));});returnthis;};
Environment
Node version: v14.15.4
ESLint version: v6.14.10
eslint-plugin-jsdoc version: v31.6.0
The text was updated successfully, but these errors were encountered:
Seems this is, at least in part, due to syavorsky/comment-parser#121 , so we're blocking on that for now. This may impact other issues as well (as we've applied the latest update to that parser which gives us other advantages such as being able to preserve whitespace while doing fixing).
Initially filed in jsdoctypeparser/jsdoctypeparser#132
Expected behavior
Multiline object types should get recognized if they use indentation.
Actual behavior
require-param-description
does give an error because the type is not parsed correctlyESLint Config
ESLint sample
Environment
eslint-plugin-jsdoc
version: v31.6.0The text was updated successfully, but these errors were encountered: