Skip to content

Commit 7b38e4a

Browse files
committed
feat: generated components.d.ts file add oxlint-disable comment
1 parent e59fea4 commit 7b38e4a

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/core/declaration.ts

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

test/__snapshots__/dts.test.ts.snap

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ exports[`dts > components only 1`] = `
66
// Generated by unplugin-vue-components
77
// Read more: https://github.com/vuejs/core/pull/3399
88
// biome-ignore lint: disable
9+
// oxlint-disable
910
export {}
1011
1112
/* prettier-ignore */
@@ -25,6 +26,7 @@ exports[`dts > directive only 1`] = `
2526
// Generated by unplugin-vue-components
2627
// Read more: https://github.com/vuejs/core/pull/3399
2728
// biome-ignore lint: disable
29+
// oxlint-disable
2830
export {}
2931
3032
/* prettier-ignore */
@@ -42,6 +44,7 @@ exports[`dts > generate components with prefix 1`] = `
4244
// Generated by unplugin-vue-components
4345
// Read more: https://github.com/vuejs/core/pull/3399
4446
// biome-ignore lint: disable
47+
// oxlint-disable
4548
export {}
4649
4750
/* prettier-ignore */
@@ -78,6 +81,7 @@ exports[`dts > getDeclaration 1`] = `
7881
// Generated by unplugin-vue-components
7982
// Read more: https://github.com/vuejs/core/pull/3399
8083
// biome-ignore lint: disable
84+
// oxlint-disable
8185
export {}
8286
8387
/* prettier-ignore */
@@ -137,6 +141,7 @@ exports[`dts > vue 2.7 components only 1`] = `
137141
// Generated by unplugin-vue-components
138142
// Read more: https://github.com/vuejs/core/pull/3399
139143
// biome-ignore lint: disable
144+
// oxlint-disable
140145
export {}
141146
142147
/* prettier-ignore */
@@ -156,6 +161,7 @@ exports[`dts > writeDeclaration - append 1`] = `
156161
// Generated by unplugin-vue-components
157162
// Read more: https://github.com/vuejs/core/pull/3399
158163
// biome-ignore lint: disable
164+
// oxlint-disable
159165
export {}
160166
161167
/* prettier-ignore */
@@ -181,6 +187,7 @@ exports[`dts > writeDeclaration - overwrite 1`] = `
181187
// Generated by unplugin-vue-components
182188
// Read more: https://github.com/vuejs/core/pull/3399
183189
// biome-ignore lint: disable
190+
// oxlint-disable
184191
export {}
185192
186193
/* prettier-ignore */
@@ -203,6 +210,7 @@ exports[`dts > writeDeclaration 1`] = `
203210
// Generated by unplugin-vue-components
204211
// Read more: https://github.com/vuejs/core/pull/3399
205212
// biome-ignore lint: disable
213+
// oxlint-disable
206214
export {}
207215
208216
/* prettier-ignore */

0 commit comments

Comments
 (0)