eslint-plugin-vue
eslint-plugin-vue copied to clipboard
Official ESLint plugin for Vue.js
**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...
**What rule do you want to change?** ignore TS type sorting **Does this change cause the rule to produce more or fewer warnings?** **How will the change be implemented? (New...
**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...
`define-macros-order`: should allow referencing local variables defined before the macros statement
**What did you do?** `define-macros-order` should probably allow referencing local variables defined before the macros: ```vue /* eslint vue/define-macros-order: [2, {order: ["defineOptions", "defineModel", "defineProps", "defineEmits", "defineSlots"]}] no-use-before-define: 2 */ import...
**Please describe what the rule should do:** When we use Option API (in typescript and javascript) it is better to use defineComponent to enable props type inference (1). A rule...
**Tell us about your environment** - **ESLint version:** 9.22.0 - **eslint-plugin-vue version:** 10.0.0 - **Vue version:** 2.7.16 - **Node version:** 22.14.0 **The problem you want to solve.** I would like...
**What rule do you want to change?** [vue/valid-v-for](https://eslint.vuejs.org/rules/valid-v-for.html) **Does this change cause the rule to produce more or fewer warnings?** fewer **How will the change be implemented? (New option, new...
This PR closes #2721. For a deeper explanation take a look at the issue
**Please describe what the rule should do:** This rule enforces that you can't directly call a composable inside an event handler. Calling a composable inside an event handler directly can...
The [vue/block-lang rule says](https://eslint.vuejs.org/rules/block-lang.html) > disallow use other than available `lang` However, the rule doesn't perform a check if the `script` tag is missing. It also says: > This rule...