Explicitly specify React version for ESLint (#28726)

Signed-off-by: Jon Koops <jonkoops@gmail.com>
This commit is contained in:
Jon Koops 2024-04-15 14:44:06 +02:00 committed by GitHub
parent 03c2629afc
commit b428e7dc81
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,6 +37,11 @@ export default tseslint.config(
tsconfigRootDir: import.meta.dirname,
},
},
settings: {
react: {
version: "18",
},
},
rules: {
// ## Rules overwriting config, disabled for now, but will have to be evaluated. ##
"no-undef": "off",
@ -143,5 +148,5 @@ export default tseslint.config(
"mocha/no-mocha-arrows": "off",
"mocha/no-setup-in-describe": "off",
},
}
},
);