PromoCursed/node_modules/eslint-plugin-import/config/react-native.js
2024-08-20 23:25:37 +04:00

14 lines
289 B
JavaScript

/**
* - 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'],
},
},
},
};