I just finished setting up Prettier and ESLint, with airbnb rules, in my project. It works great.
However, I’m getting one Expo specific error and I’m not sure the best approach to fix it.
@expo/vector-icons' should be listed in the project's dependencies.
I tried adding a rule to my .eslintrc
with no luck.
rules: {
'import/no-unresolved': ['error', {ignore: '@expo/'}],
}
How do I set up the rule correctly?
Is there a better way to do this than creating a rule?