fix: temporarily turn off eslint for **ultra-low quality** code, because I don't have time to fix them one by one

This commit is contained in:
DarkSky
2022-12-22 19:51:47 +08:00
parent 593bb77921
commit b78aa6950c
22 changed files with 47 additions and 23 deletions
+2 -1
View File
@@ -25,6 +25,7 @@ import useCurrentPageMeta from '@/hooks/use-current-page-meta';
export const ThemeContext = createContext<ThemeProviderValue>({
mode: 'light',
// eslint-disable-next-line @typescript-eslint/no-empty-function
changeMode: () => {},
theme: getLightTheme('page'),
});
@@ -98,7 +99,7 @@ export const ThemeProvider = ({
<Global
styles={css`
:root {
${globalThemeVariables(mode, themeStyle) as {}}
${globalThemeVariables(mode, themeStyle) as any}
}
`}
/>