Example:

```js
        function Example(props) {
          useEffect(() => {
            let topHeight = 0;
            topHeight = props.upperViewHeight;
          }, [props.upperViewHeight]);
        }
```

This is **not** supposed to violate because `props.upperViewHeight` is in the deps.
break; 
          }
          if (def.type !== 'Variable' && def.type !== 'FunctionName') {
            
            break; 
          }
          switch (def.node.type) {
            case 'FunctionDeclaration':
              
              visitFunctionWithDependencies(
                def.node,
                declaredDependenciesNode,
                reactiveHook,
                reactiveHookName,
                isEffect,
              );
              return; 
            case 'VariableDeclarator':
              const init = def.node.init;
              if (!init) {
                break; 
              }
              switch (init.type) {
                
                
                case 'ArrowFunctionExpression':
                case 'FunctionExpression':
                  
                  visitFunctionWithDependencies(
                    init,