mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-10 15:32:05 -03:30
Explicitly specify React version for ESLint (#28726)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
This commit is contained in:
parent
03c2629afc
commit
b428e7dc81
@ -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…
x
Reference in New Issue
Block a user