build: test import sort

This commit is contained in:
Burt 2023-12-21 16:50:50 +08:00
parent 9f4077a1ba
commit fcc09d608f
2 changed files with 3 additions and 1 deletions

View File

@ -61,6 +61,7 @@ module.exports = {
'import/no-extraneous-dependencies': 'off',
'no-plusplus': 'off',
'no-shadow': 'off',
'vue/multi-word-component-names': 'off',
},
// eslint-import-resolver-typescript 插件,@see https://www.npmjs.com/package/eslint-import-resolver-typescript
settings: {

View File

@ -7,9 +7,10 @@
</view>
</template>
<script setup lang="ts">
<script setup lang="ts" name="TestIndex">
import { ref } from 'vue'
import { fun } from '../../test/import-sort'
const title = ref('Hello')
fun()
</script>