chore: upgrade to eslint9 (#9163)

This commit is contained in:
Brooooooklyn
2024-12-14 10:29:04 +00:00
parent f49bef4915
commit aaaea8918f
37 changed files with 681 additions and 736 deletions
@@ -18,6 +18,7 @@ export function useFramework(): FrameworkProvider {
export function useService<T extends Service>(
identifier: GeneralIdentifier<T>
): T {
// eslint-disable-next-line react-hooks/rules-of-hooks
const stack = useContext(FrameworkStackContext);
let service: T | undefined = undefined;
@@ -85,6 +86,7 @@ export function useServices<
export function useServiceOptional<T extends Service>(
identifier: Type<T>
): T | undefined {
// eslint-disable-next-line react-hooks/rules-of-hooks
const stack = useContext(FrameworkStackContext);
let service: T | undefined = undefined;