adds explicit react version (#4285)

This commit is contained in:
Dimitri Mitropoulos 2021-12-08 20:44:04 -05:00 committed by GitHub
parent 268e0282a1
commit bd11157d13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,11 @@ const {
/** @type { import('eslint').Linter.Config } */ /** @type { import('eslint').Linter.Config } */
module.exports = { 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', parser: '@typescript-eslint/parser',
parserOptions: { parserOptions: {
project: [ project: [