浏览代码

Add module to eslint global

Andrew Swistak 6 年之前
父节点
当前提交
3a70dbfac1
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      .eslintrc.js

+ 1 - 0
.eslintrc.js

@@ -11,6 +11,7 @@ module.exports = {
     },
   },
   globals: {
+    module: true,
     shallow: true,
     render: true,
     mount: true,