eslint-plugin-vue
eslint-plugin-vue copied to clipboard
Official ESLint plugin for Vue.js
Close https://github.com/vuejs/eslint-plugin-vue/issues/2521 I'll just submit a pr first, so if there are any changes that need to be made please just point them out ❤️
**Please describe what the rule should do:** I've just reviewed a piece of code with DOM queries in computed prop. This is subtly wrong, because the computed is not recomputed...
closes #2523 these are really rudimentary, but at least it's a start
Since I had myself to search for a couple of hours to find out how to migrate to the new ESLint v9 flat config `eslint.config.mjs`, I thought it could be...
This PR addresses issue https://github.com/vuejs/eslint-plugin-vue/issues/2524. I believe it successfully implements the rule, that the test cases are exhaustive enough. Hoping for feedback! :)
**Please describe what the rule should do:** The rule should allow developers to set a maximum depth for templates for Vue components in a project. In my experience a high...
**Please describe what the rule should do:** Since `$delete` and `$set` APIs are [removed in Vue 3](https://v3-migration.vuejs.org/breaking-changes/#removed-apis); it would be helpful to add a warning to help people transition to...
*Extracted from https://github.com/vuejs/eslint-plugin-vue/issues/2166#issuecomment-2196820750 (by @pauliesnug):* > As for full ESLint v9 support, which is related to the Flat Config milestone, we also need Type Declarations built-into the package so we...
**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:** Discourage using a dynamic component when you can use a `v-if`/`v-else` for better readability & type hints. When reading `` it doesn't give...