Blame view

node_modules/eslint-plugin-import/config/react-native.js 288 Bytes
ce4c83ff   wxy   初始提交
1
2
3
4
5
6
7
8
9
10
11
12
13
  /**
   * - 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'],
        },
      },
    },
  }