Skip to content

Commit c69425e

Browse files
authored
fix: disable biome detection in generated components.d.ts (#792)
1 parent 8fa9655 commit c69425e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/core/declaration.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ export function getDeclaration(ctx: Context, filepath: string, originalImports?:
118118
// @ts-nocheck
119119
// Generated by unplugin-vue-components
120120
// Read more: https://github.com/vuejs/core/pull/3399
121+
// biome-ignore lint: disable
121122
export {}
122123
123124
/* prettier-ignore */

test/__snapshots__/dts.test.ts.snap

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ exports[`dts > components only 1`] = `
55
// @ts-nocheck
66
// Generated by unplugin-vue-components
77
// Read more: https://github.com/vuejs/core/pull/3399
8+
// biome-ignore lint: disable
89
export {}
910
1011
/* prettier-ignore */
@@ -23,6 +24,7 @@ exports[`dts > directive only 1`] = `
2324
// @ts-nocheck
2425
// Generated by unplugin-vue-components
2526
// Read more: https://github.com/vuejs/core/pull/3399
27+
// biome-ignore lint: disable
2628
export {}
2729
2830
/* prettier-ignore */
@@ -39,6 +41,7 @@ exports[`dts > getDeclaration 1`] = `
3941
// @ts-nocheck
4042
// Generated by unplugin-vue-components
4143
// Read more: https://github.com/vuejs/core/pull/3399
44+
// biome-ignore lint: disable
4245
export {}
4346
4447
/* prettier-ignore */
@@ -97,6 +100,7 @@ exports[`dts > vue 2.7 components only 1`] = `
97100
// @ts-nocheck
98101
// Generated by unplugin-vue-components
99102
// Read more: https://github.com/vuejs/core/pull/3399
103+
// biome-ignore lint: disable
100104
export {}
101105
102106
/* prettier-ignore */
@@ -115,6 +119,7 @@ exports[`dts > writeDeclaration - keep unused 1`] = `
115119
// @ts-nocheck
116120
// Generated by unplugin-vue-components
117121
// Read more: https://github.com/vuejs/core/pull/3399
122+
// biome-ignore lint: disable
118123
export {}
119124
120125
/* prettier-ignore */
@@ -139,6 +144,7 @@ exports[`dts > writeDeclaration 1`] = `
139144
// @ts-nocheck
140145
// Generated by unplugin-vue-components
141146
// Read more: https://github.com/vuejs/core/pull/3399
147+
// biome-ignore lint: disable
142148
export {}
143149
144150
/* prettier-ignore */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy