chore: fixup build and lint

This commit is contained in:
iCrawl
2023-04-14 17:11:12 +02:00
parent 0d0e4d1cb6
commit a76c1ddacc
8 changed files with 67 additions and 90 deletions

View File

@@ -21,21 +21,6 @@ export default defineConfig({
mono: 'var(--font-mono)',
},
},
// safelist: [
// 'sr-only',
// 'relative',
// 'inline-flex',
// 'w-6',
// 'h-6',
// 'place-items-center',
// 'place-content-center',
// 'outline-0',
// 'text-black',
// 'dark:text-white',
// 'ml-2',
// 'inline-block',
// 'm-0',
// ],
presets: [
presetUno({ dark: 'class' }),
presetTypography({
@@ -97,14 +82,8 @@ export default defineConfig({
}),
],
include: [
/.vue$/,
/.vue?vue/,
/.svelte$/,
/.[jt]sx$/,
/.mdx?$/,
/.astro$/,
/.elm$/,
/.html$/,
// eslint-disable-next-line prefer-named-capture-group, unicorn/no-unsafe-regex
/.*\/ui\.js(.*)?$/,
// eslint-disable-next-line prefer-named-capture-group, unicorn/no-unsafe-regex