update eslint to 9
This commit is contained in:
parent
a543bc0f73
commit
9f74b959c4
7 changed files with 1003 additions and 367 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* eslint-disable @typescript-eslint/ban-types */
|
||||
/* eslint-disable @typescript-eslint/no-empty-object-type */
|
||||
import type { ExtendKcContext } from "keycloakify/login";
|
||||
import type { KcEnvName, ThemeName } from "../kc.gen";
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ import { i18nBuilder } from "keycloakify/login";
|
|||
import type { ThemeName } from "../kc.gen";
|
||||
|
||||
/** @see: https://docs.keycloakify.dev/i18n */
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
const { useI18n, ofTypeI18n } = i18nBuilder.withThemeName<ThemeName>().build();
|
||||
|
||||
type I18n = typeof ofTypeI18n;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
/* eslint-disable react-refresh/only-export-components */
|
||||
import { createRoot } from "react-dom/client";
|
||||
import { StrictMode } from "react";
|
||||
import { KcPage } from "./kc.gen";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue