From 19a0b5a947623c106e1e86a22230a2cf6dd4be81 Mon Sep 17 00:00:00 2001 From: Gajus Kuizinas Date: Wed, 18 Jan 2023 10:47:34 -0600 Subject: [PATCH] style: adjust eslint comments --- src/jsdocUtils.js | 2 +- src/utils/hasReturnValue.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jsdocUtils.js b/src/jsdocUtils.js index 003fae2a0..9aa0ce5ac 100644 --- a/src/jsdocUtils.js +++ b/src/jsdocUtils.js @@ -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? diff --git a/src/utils/hasReturnValue.js b/src/utils/hasReturnValue.js index 622f131bc..44b09afe8 100644 --- a/src/utils/hasReturnValue.js +++ b/src/utils/hasReturnValue.js @@ -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?