Skip to content

Commit d0ed8c2

Browse files
committed
Fix linting failures in generated files
1 parent 3b66829 commit d0ed8c2

File tree

6 files changed

+8
-6
lines changed

6 files changed

+8
-6
lines changed

src/template/base/examples/packages/@projectName@/src/components/Example.vue renamed to src/template/base/examples/packages/@projectName@/src/components/ExampleComponent.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { ref } from 'vue'
33
44
if (__DEV__) {
5-
console.log('dev: creating Example component')
5+
console.log('dev: creating ExampleComponent')
66
}
77
88
const msg = ref('Hello world!')
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
export { default as Example } from './components/Example.vue'
1+
export { default as ExampleComponent } from './components/ExampleComponent.vue'
22
export { default as MyPanel } from './components/MyPanel.vue'
33
export { default as MyPanelSection } from './components/MyPanelSection.vue'
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/// <reference types="vite/client" />
2-
/// <reference path="../@projectName@/src/global.d.ts" />
2+
3+
import '../@projectName@/src/global.d.ts'

src/template/playground/examples/packages/playground/src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { Example as ExampleComponent, MyPanel } from '@scopedPackageName@'
2+
import { ExampleComponent, MyPanel } from '@scopedPackageName@'
33
</script>
44

55
<template>
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/// <reference types="vite/client" />
2-
/// <reference path="../@projectName@/src/global.d.ts" />
2+
3+
import '../@projectName@/src/global.d.ts'

src/template/vitepress/examples/packages/docs/src/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { Example as ExampleComponent, MyPanel } from '@scopedPackageName@'
2+
import { ExampleComponent, MyPanel } from '@scopedPackageName@'
33
</script>
44

55
<style scoped>

0 commit comments

Comments
 (0)