From 7e8a588c15d08b430079df6642538157e2fc11da Mon Sep 17 00:00:00 2001 From: Benaiah Mischenko Date: Fri, 11 Aug 2017 11:47:39 -0700 Subject: [PATCH] Fix incorrect eslint import errors Just adds the development package `eslint-import-resolver-webpack`, which is [already configured][0], but not previously installed. This removes a _lot_ of incorrect eslint errors. [0]: https://github.com/netlify/netlify-cms/blob/2d344ef4caa5e21866a61c077b19ee7f64120d9b/.eslintrc#L6-L10 --- package.json | 1 + yarn.lock | 22 +++++++++++++++++----- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 4c6763b9..a8aaa40d 100644 --- a/package.json +++ b/package.json @@ -63,6 +63,7 @@ "enzyme": "^2.4.1", "eslint": "^3.7.1", "eslint-config-netlify": "github:netlify/eslint-config-netlify", + "eslint-import-resolver-webpack": "^0.8.3", "exports-loader": "^0.6.3", "extract-text-webpack-plugin": "^2.1.2", "file-loader": "^0.11.2", diff --git a/yarn.lock b/yarn.lock index e9e831e8..725ceb51 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2590,6 +2590,22 @@ eslint-import-resolver-webpack@^0.6.0: resolve "^1.1.7" semver "^5.3.0" +eslint-import-resolver-webpack@^0.8.3: + version "0.8.3" + resolved "https://registry.yarnpkg.com/eslint-import-resolver-webpack/-/eslint-import-resolver-webpack-0.8.3.tgz#ad61e28df378a474459d953f246fd43f92675385" + dependencies: + array-find "^1.0.0" + debug "^2.6.8" + enhanced-resolve "~0.9.0" + find-root "^0.1.1" + has "^1.0.1" + interpret "^1.0.0" + is-absolute "^0.2.3" + lodash.get "^3.7.0" + node-libs-browser "^1.0.0" + resolve "^1.2.0" + semver "^5.3.0" + eslint-plugin-class-property@^1.0.1: version "1.0.6" resolved "https://registry.yarnpkg.com/eslint-plugin-class-property/-/eslint-plugin-class-property-1.0.6.tgz#c3bc3fc4207b283bf82e69e3dd1b6e2491a57623" @@ -5747,10 +5763,6 @@ pluralize@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-1.2.1.tgz#d1a21483fd22bb41e58a12fa3421823140897c45" -pluralize@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-3.1.0.tgz#84213d0a12356069daa84060c559242633161368" - portfinder@^1.0.9: version "1.0.13" resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.13.tgz#bb32ecd87c27104ae6ee44b5a3ccbf0ebb1aede9" @@ -7142,7 +7154,7 @@ resolve@1.1.7, resolve@~1.1.7: version "1.1.7" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" -resolve@^1.1.6, resolve@^1.1.7, resolve@^1.3.2: +resolve@^1.1.6, resolve@^1.1.7, resolve@^1.2.0, resolve@^1.3.2: version "1.3.3" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.3.3.tgz#655907c3469a8680dc2de3a275a8fdd69691f0e5" dependencies: