-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
When I turn on eslint-plugin-diff with eslint-plugin-vue at the same time, a simple .vue file content keey reporting rule 'vue/comment-directive ' error.
From their document https://eslint.vuejs.org/rules/comment-directive.html, the problematic rule uses eslint processer API rather than other regular rules.
<template>
<div class="a-new-table"></div>
</template>
<script lang="ts">
import { defineComponent } from 'vue'
export default defineComponent({
name: 'ANewTable',
setup() {
return {}
},
})
</script>
<style lang="less" scoped>
.a-new-table {
background: black;
}
</style>
No expert on eslint and git, spend a whole hour to figure out this. Hope anyone could look into it.
Kombuchelada
Metadata
Metadata
Assignees
Labels
No labels