We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa890cb commit 1292807Copy full SHA for 1292807
lib/util/Components.js
@@ -216,6 +216,8 @@ function componentRule(rule, context) {
216
*/
217
isExplicitComponent: function(node) {
218
let comment;
219
+ // Sometimes the passed node may not have been parsed yet by eslint, and this function call crashes.
220
+ // Can be removed when eslint sets "parent" property for all nodes on initial AST traversal: https://github.com/eslint/eslint-scope/issues/27
221
try {
222
comment = sourceCode.getJSDocComment(node);
223
} catch (e) {
0 commit comments