Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b313344

Browse files
committed
fix: add ts-nocheck for UnoCSS test files to fix lint
1 parent 5e1f304 commit b313344

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1+
// @ts-nocheck - UnoCSS types are not available in this test environment
12
import { defineConfig, presetUno } from 'unocss'
23

34
export default defineConfig({
45
presets: [presetUno()],
56
// Include TypeScript files in the extraction pipeline
67
content: {
78
pipeline: {
8-
include: [
9-
/\.(vue|svelte|[jt]sx?|mdx?|astro|elm|php|phtml|html)($|\?)/,
10-
],
9+
include: [/\.(vue|svelte|[jt]sx?|mdx?|astro|elm|php|phtml|html)($|\?)/],
1110
},
1211
},
1312
})

packages/vite-plugin/tests/e2e/mv3-vite-unocss-hmr/vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// @ts-nocheck - UnoCSS types are not available in this test environment
12
import UnoCSS from 'unocss/vite'
23
import { crx } from '../../plugin-testOptionsProvider'
34
import { defineConfig } from 'vite'

0 commit comments

Comments
 (0)