title: Trouble disabling react-hooks/exhaustive-deps warning when using redux action creator inside useEffect hook
body: <p>Trying to call a redux action creator inside a useEffect hook the following warning-</p>
  
  <pre><code>React Hook useEffect has a missing dependency: 'getPlanQuotes'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
  </code></pre>
  
  <p>This is the useEffect hook-</p>
  
  <pre><code>const { getPlanQuotes } = props;
  
  useEffect(() =&gt; {
     getPlanQuotes();
  }, []);
  </code></pre>
  
  <p>So I tried disabling it using <code>// eslint-disable-next-line react-hooks/exhaustive-deps</code>. Like this-</p>
  
  <pre><code>useEffect(() =&gt; {
      getPlanQuotes();
      // eslint-disable-next-line react-hooks/exhaustive-deps
  }, []);
  </code></pre>
  
  <p>But it still throws the warning on the console without the <code>react-hooks/exhaustive-deps</code> being specified</p>
  
  <p>And also the editor throws the following error-
  <a href="https://i.stack.imgur.com/z6Vgn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/z6Vgn.png" alt=""></a></p>
  
  <p>.eslintrc config-</p>
  
  <pre><code>{
      "parser": "babel-eslint",
      "extends": ["eslint:recommended", "plugin:react/recommended", "prettier"],
      "env": {
          "jest": true,
          "browser": true,
          "node": true,
          "es6": true
      },
      "plugins": ["json", "prettier"],
      "rules": {
          "prettier/prettier": ["error"],
          "no-console": "off"
      },
      "parserOptions": {
          "ecmaFeatures": {
              "jsx": true
          },
          "rules": {
              "no-underscore-dangle": [
                  "error",
                  {
                      "allow": ["_id", "b_codes_id"]
                  }
              ],
              "react/prop-types": [1]
          },
          "settings": {
              "import/resolver": "meteor"
          },
          "globals": {
              "_": true,
              "CSSModule": true,
              "Streamy": true,
              "ReactClass": true,
              "SyntheticKeyboardEvent": true
          }
      }
  }
  </code></pre>