odin-js-fundamentals-part-5/node_modules/eslint-plugin-import/config/react-native.js

14 lines
289 B
JavaScript
Raw Permalink Normal View History

2024-01-11 08:52:05 +00:00
/**
* - adds platform extensions to Node resolver
*/
module.exports = {
settings: {
'import/resolver': {
node: {
// Note: will not complain if only _one_ of these files exists.
extensions: ['.js', '.web.js', '.ios.js', '.android.js'],
},
},
},
};