I\'m trying to add a background image from react native BackgroundImage which needs to add source as source={require(\'*--iamge path --*\')}
source={require(\'*--iamge path --*\')}
you can disable this check in eslintrc.js file
eslintrc.js
module.exports = { ... rules: { ... '@typescript-eslint/no-var-requires': 0, } }