Skip to content

Commit 5e25a5e

Browse files
committed
Re-add FIXME and disable the warning through eslint-disable-next-line
1 parent d00e9e6 commit 5e25a5e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/util/Components.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,8 @@ 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-
// Remove try/catch when https://github.com/eslint/eslint-scope/issues/27 is implemented.
221+
// eslint-disable-next-line no-warning-comments
222+
// FIXME: Remove try/catch when https://github.com/eslint/eslint-scope/issues/27 is implemented.
222223
try {
223224
comment = sourceCode.getJSDocComment(node);
224225
} catch (e) {

0 commit comments

Comments
 (0)