title: How to resolve ESLint error unable to resolve path to module 'react-native'
body: <p>New to react native and trying to setup ESLint in my project.  I am getting this specific error:</p>
  
  <p>Unable to resolve path to module 'react-native'. (import/no-unresolved)</p>
  
  <p>I searched on SO and found similar threads, but nothing seems to work.  I tried cleaning the npm cache as well.</p>
  
  <pre><code>import { AppRegistry } from 'react-native';
  </code></pre>
  
  <p>There is a red underline on my index.js file in the project root (using Atom editor) and under the word react in the above code snippet.</p>