odin-javascript-exercises/node_modules/eslint-plugin-import/config/react-native.js

14 lines
288 B
JavaScript
Raw Normal View History

2017-12-15 10:56:14 -08: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'],
},
},
},
}