webhook/node_modules/eslint-plugin-import/config/react-native.js
2020-08-26 09:57:08 +10:00

13 lines
288 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'],
},
},
},
}