React Native module resolution plugin for eslint-plugin-import (v1.0.2, last updated 2020). Uses eslint-import-resolver-node with modifications: adds .android.js and .ios.js extensions, resolves project name to root path. No breaking changes known; single stable release. Differentiates from standard resolver by supporting platform-specific file resolution and project-name-based imports.
npm install eslint-import-resolver-reactnativeVerified import paths — ran on the pinned version, not inferred.
Configures ESLint to use the React Native resolver for module resolution.
Run: npm install --save-dev eslint-plugin-import
Ensure your project structure matches typical node resolution or add additional resolver.
Verify that import/export rules are enabled in .eslintrc.
Set settings.import/resolver to 'reactnative' and ensure package.json name matches import prefix.