瀏覽代碼

update lockfile + depend explicitly on eslint-plugin-react

eslint-plugin-react is used by eslint-config-standard-preact, and is a
dependency of it. when eslint is run, it tries to
require('eslint-plugin-react') from the root of the project, which isn't
guaranteed to work (although npm hoisting will _normally_ let it work).
if we depend on it explicitly this will always work.
Renée Kooi 6 年之前
父節點
當前提交
165ca03416
共有 2 個文件被更改,包括 515 次插入122 次删除
  1. 514 122
      package-lock.json
  2. 1 0
      package.json

文件差異過大導致無法顯示
+ 514 - 122
package-lock.json


+ 1 - 0
package.json

@@ -40,6 +40,7 @@
     "eslint-plugin-jest": "^21.27.2",
     "eslint-plugin-jest": "^21.27.2",
     "eslint-plugin-node": "^4.2.3",
     "eslint-plugin-node": "^4.2.3",
     "eslint-plugin-promise": "^3.8.0",
     "eslint-plugin-promise": "^3.8.0",
+    "eslint-plugin-react": "^7.12.4",
     "eslint-plugin-standard": "^3.1.0",
     "eslint-plugin-standard": "^3.1.0",
     "exorcist": "^1.0.1",
     "exorcist": "^1.0.1",
     "fakefile": "0.0.9",
     "fakefile": "0.0.9",

部分文件因文件數量過多而無法顯示