Blame view

node_modules/eslint-plugin-import/config/errors.js 340 Bytes
ce4c83ff   wxy   初始提交
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  /**
   * unopinionated config. just the things that are necessarily runtime errors
   * waiting to happen.
   * @type {Object}
   */
  module.exports = {
    plugins: ['import'],
    rules: { 'import/no-unresolved': 2
           , 'import/named': 2
           , 'import/namespace': 2
           , 'import/default': 2
           , 'import/export': 2
           }
  }