-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix problem with eslint-plugin-vue new rules #8
Conversation
I've created a simple <template>
<span>{{ vaca }}</span>
</template>
<script>
export default {
data () {
return {
vaca: 'vaca'
}
}
}
</script> /Users/pablohpsilva/Code/gandalf-lint-vue/test/Home.vue
1:1 error Definition for rule 'vue/no-spaces-around-equal-signs-in-attribute' was not found vue/no-spaces-around-equal-signs-in-attribute
✖ 1 problem (1 error, 0 warnings) |
@pablohpsilva did you install eslint-plugin-vue? |
Hello everybody! I tried it in a @vue/cli project and it works, but needs some workaround. Only It tries to lint all It is necessary to create a new script command to lint only
|
@alexbruno and @pablohpsilva, I'm working on it. 😉 |
@alexbruno I guess we cannot have a .eslintignore on our side, but I improved the README to help the users. |
I added eslint-plugin-vue@next as a peerDependency, fixing the problem reported at #6 😅