From bd11157d136ed8aa26f4866739bc6cd8654c5d55 Mon Sep 17 00:00:00 2001 From: Dimitri Mitropoulos Date: Wed, 8 Dec 2021 20:44:04 -0500 Subject: [PATCH] adds explicit react version (#4285) --- .eslintrc.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index 06d38df79..f98ecb33f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -10,6 +10,11 @@ const { /** @type { import('eslint').Linter.Config } */ module.exports = { + settings: { + react: { + version: '16.8', // note: remember to always keep this in sync with `"react": "^16.8.3",` which is present in any package.json of a project using React. + }, + }, parser: '@typescript-eslint/parser', parserOptions: { project: [