From d1dedf01c5a2fa84cb749166304a00a0eff8f7ba Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Sun, 18 Aug 2019 14:26:31 -0700 Subject: [PATCH] Add glob dependency and allow rules that only warn --- modern/.eslintrc | 5 +---- package.json | 1 + yarn.lock | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/modern/.eslintrc b/modern/.eslintrc index e8a6ad44..da44201e 100644 --- a/modern/.eslintrc +++ b/modern/.eslintrc @@ -2,10 +2,7 @@ "rules": { // TODO: Turn these all back on "camelcase": "off", - "no-shadow": "off", - "no-nested-ternary": "off", "react-hooks/rules-of-hooks": "off", - "react-hooks/exhaustive-deps": "off", - "import/no-extraneous-dependencies": "off" + "react-hooks/exhaustive-deps": "off" } } diff --git a/package.json b/package.json index 99b2d722..27ec0792 100644 --- a/package.json +++ b/package.json @@ -94,6 +94,7 @@ "eslint-plugin-react": "^7.7.0", "file-loader": "^2.0.0", "git-revision-webpack-plugin": "^3.0.3", + "glob": "^7.1.4", "html-webpack-inline-svg-plugin": "^1.2.4", "html-webpack-plugin": "^3.2.0", "http-server": "^0.11.1", diff --git a/yarn.lock b/yarn.lock index 3bf2cc98..25cdd2b7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4684,7 +4684,7 @@ glob@^7.1.2: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^7.1.3: +glob@^7.1.3, glob@^7.1.4: version "7.1.4" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255" integrity sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==