Skip to content

Commit 0cf2415

Browse files
author
Joachim Seminck
committed
Add comment to the eslint parent definition issue
1 parent 1292807 commit 0cf2415

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/util/Components.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ function componentRule(rule, context) {
218218
let comment;
219219
// Sometimes the passed node may not have been parsed yet by eslint, and this function call crashes.
220220
// Can be removed when eslint sets "parent" property for all nodes on initial AST traversal: https://github.com/eslint/eslint-scope/issues/27
221+
// FIXME: Remove try/catch when https://github.com/eslint/eslint-scope/issues/27 is implemented.
221222
try {
222223
comment = sourceCode.getJSDocComment(node);
223224
} catch (e) {

0 commit comments

Comments
 (0)