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 --*\')}
It's also possible to disable it for individual files, instead of globally disabling it for the whole project.
Add at the top of the file:
/* eslint @typescript-eslint/no-var-requires: "off" */