title: ESLint: Require statement not part of import statement.(@typescript-eslint/no-var-requires)
body: <p>I'm trying to add a background image from react native <strong>BackgroundImage</strong> which needs to add source as <code>source={require('*--iamge path --*')}</code></p>
  
  <p>but my eslint throw <strong>Require statement not part of import statement.</strong> error. i have tried to import image in different ways for example: </p>
  
  <pre><code> - const image = '--image path--'
   - import image = require('--image path--')
   - &lt;BackgroundImage source={require('--image path--')}&gt;
  </code></pre>