mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
fix: eslint .tsx file failed (#8358)
This commit is contained in:
19
packages/vant-eslint-config/test/vue/index.vue
Normal file
19
packages/vant-eslint-config/test/vue/index.vue
Normal file
@@ -0,0 +1,19 @@
|
||||
<template>
|
||||
<div>
|
||||
<span v-for="a in arr">{{ a }}</span>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
const a = 1
|
||||
a = 1
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
arr: [1, 2, 3]
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style></style>
|
2
packages/vant-eslint-config/test/vue/main.js
Normal file
2
packages/vant-eslint-config/test/vue/main.js
Normal file
@@ -0,0 +1,2 @@
|
||||
const a = b + 1
|
||||
export default a
|
Reference in New Issue
Block a user