Explicitly specify React version for ESLint (#28726)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
This commit is contained in:
parent
03c2629afc
commit
b428e7dc81
1 changed files with 6 additions and 1 deletions
|
@ -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",
|
||||
},
|
||||
}
|
||||
},
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue