Skip to content

Commit

Permalink
style: adjust eslint comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Jan 18, 2023
1 parent d6cb61d commit 19a0b5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/jsdocUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -815,8 +815,8 @@ const hasNonFunctionYield = (node, checkYieldReturnValue) => {
case 'ObjectProperty':
// istanbul ignore next -- In Babel?
case 'ClassProperty':
/* eslint-enable no-fallthrough */
case 'Property':
/* eslint-enable no-fallthrough */
return node.computed && hasNonFunctionYield(node.key, checkYieldReturnValue) ||
hasNonFunctionYield(node.value, checkYieldReturnValue);
// istanbul ignore next -- In Babel?
Expand Down
2 changes: 1 addition & 1 deletion src/utils/hasReturnValue.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,8 @@ const hasNonEmptyResolverCall = (node, resolverName) => {
case 'PropertyDefinition':
// istanbul ignore next -- In Babel?
case 'ClassProperty':
/* eslint-enable no-fallthrough */
case 'Property':
/* eslint-enable no-fallthrough */
return node.computed && hasNonEmptyResolverCall(node.key, resolverName) ||
hasNonEmptyResolverCall(node.value, resolverName);
// istanbul ignore next -- In Babel?
Expand Down

0 comments on commit 19a0b5a

Please sign in to comment.