eslint-plugin-vue icon indicating copy to clipboard operation
eslint-plugin-vue copied to clipboard

Official ESLint plugin for Vue.js

Results 347 eslint-plugin-vue issues
Sort by recently updated
recently updated
newest added

**Checklist** - [x] I have tried restarting my IDE and the issue persists. - [x] I have read the [FAQ](https://eslint.vuejs.org/user-guide/#faq) and my problem is not listed. **Tell us about your...

**Please describe what the rule should do:** This rule should enforce the use of arrow functions for dependencies in the `watch` function in Vue 3. Instead of directly passing a...

**Checklist** - [x] I have tried restarting my IDE and the issue persists. - [x] I have read the [FAQ](https://eslint.vuejs.org/user-guide/#faq) and my problem is not listed. **Tell us about your...

**Please describe what the rule should do:** Currently using a [MaybeRef](https://vuejs.org/api/utility-types#mayberef) without using `unref` wouldn't lead to an eslint error: ```ts const maybeRef: MaybeRef = ref(false) if (maybeRef) { //...

new rule proposition
accepted proposition

Some declared components separated to a custom webpack chunk and must be used with defineAsyncComponent and dynamic import: ``` // GOOD const Tooltip = defineAsyncComponent({ loader: () => import('../../components/Tooltip/Tooltip.vue'), hydrate:...

Fixes #2179 I finally got around to looking at a PR. It seems deceptively simple, so not sure if it broke something elsewhere, but no other tests seemed affected.

**Please describe what the rule should do:** The rule should warn when a custom directive is used, but not imported. The rule should also accept some kind of `ignore` option...

new rule proposition
accepted proposition

This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically....

Hi šŸ‘‹, Vue team! I've been trying to contribute to `eslint-plugin-vue` and recently noticed there might be plans to [rewrite it in TypeScript](#2777), though things seem to have stalled. I’d...

**Please describe what the rule should do:** If a component has a single `v-slot` directive (commonly shortened as `#`), it's possible to remove an extra wrapper by moving this directive...

new rule proposition
accepted proposition