From 6c64a3ff533f34bb92553336cdeec2db56b19a53 Mon Sep 17 00:00:00 2001 From: Michael Novotny Date: Sun, 28 Feb 2021 17:06:20 -0600 Subject: [PATCH] Adds @rushstack/eslint-patch. --- index.js | 3 +++ package.json | 1 + yarn.lock | 5 +++++ 3 files changed, 9 insertions(+) diff --git a/index.js b/index.js index f0600988..f0ec76be 100644 --- a/index.js +++ b/index.js @@ -1,3 +1,6 @@ +// This is a workaround for: https://github.com/eslint/eslint/issues/3458 +require('@rushstack/eslint-patch/modern-module-resolution'); + const dotProp = require('dot-prop'); const findUp = require('find-up'); const readPkgUp = require('read-pkg-up'); diff --git a/package.json b/package.json index d163179c..93ee6048 100644 --- a/package.json +++ b/package.json @@ -45,6 +45,7 @@ "@babel/core": "7.13.8", "@babel/eslint-parser": "7.13.8", "@babel/eslint-plugin": "7.13.0", + "@rushstack/eslint-patch": "1.0.6", "confusing-browser-globals": "1.0.10", "dot-prop": "6.0.1", "eslint-config-prettier": "8.1.0", diff --git a/yarn.lock b/yarn.lock index 4996d7df..246c7100 100644 --- a/yarn.lock +++ b/yarn.lock @@ -309,6 +309,11 @@ "@nodelib/fs.scandir" "2.1.4" fastq "^1.6.0" +"@rushstack/eslint-patch@1.0.6": + version "1.0.6" + resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.0.6.tgz#023d72a5c4531b4ce204528971700a78a85a0c50" + integrity sha512-Myxw//kzromB9yWgS8qYGuGVf91oBUUJpNvy5eM50sqvmKLbKjwLxohJnkWGTeeI9v9IBMtPLxz5Gc60FIfvCA== + "@types/json-schema@^7.0.3": version "7.0.7" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.7.tgz#98a993516c859eb0d5c4c8f098317a9ea68db9ad"