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', 'import/no-extraneous-dependencies': 'off',
'no-plusplus': 'off', 'no-plusplus': 'off',
'no-shadow': 'off', 'no-shadow': 'off',
'vue/multi-word-component-names': 'off',
}, },
// eslint-import-resolver-typescript 插件,@see https://www.npmjs.com/package/eslint-import-resolver-typescript // eslint-import-resolver-typescript 插件,@see https://www.npmjs.com/package/eslint-import-resolver-typescript
settings: { settings: {

View File

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