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.
duplicateDependencies.size +
        missingDependencies.size +
        unnecessaryDependencies.size;
      if (problemCount === 0) {
        
        
        const bareFunctions = scanForDeclaredBareFunctions({
          declaredDependencies,
          declaredDependenciesNode,
          componentScope,
          scope,
        });
        bareFunctions.forEach(({fn, suggestUseCallback}) => {
          let message =
            `The '${fn.name.name}' function makes the dependencies of ` +
            `${reactiveHookName} Hook (at line ${declaredDependenciesNode.loc.start.line}) ` +
            `change on every render.`;
          if (suggestUseCallback) {
            message +=
              ` To fix this, ` +
              `wrap the '${fn.name.name}' definition into its own useCallback() Hook.`;
          } else {
            message +=
              ` Move it inside the ${reactiveHookName} callback. ` +
              `Alternatively, wrap the '${fn.name.name}' definition into its own useCallback() Hook.`;
          }
          let suggest;
          
          
          if (suggestUseCallback && fn.type === 'Variable') {