eslint-plugin-vue
eslint-plugin-vue copied to clipboard
Official ESLint plugin for Vue.js
**What rule do you want to change?** `no-parsing-error` **Does this change cause the rule to produce more or fewer warnings?** Fewer *errors*. **How will the change be implemented? (New option,...
I'd like to be able to lint my `.vue` file script sections only if `lang="ts"`. At the moment ESLint is linting `script` sections that are just plain JS (ie. ``)...
**Please describe what the rule should do:** This rule only applies to Vue 3: There, `:foo="bar" @update:foo="bar = $event"` can be simplified to `v-model:foo="bar"`, and `:modelValue="foo" @update:modelValue="foo = $event"` can...
**Please describe what the rule should do:** defineExpose in script should include generic for types. **What category should the rule belong to?** [X ] Enforces code style (layout) [ ]...
**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:** Restrict using functions as props and encourage using events instead. Options for exceptions could be useful for cases such as sorting or formatting...
**Please describe what the rule should do:** Props can be referenced in the template using `propName` or `props.propName`. Former is convenient; latter is more explicit, provides a clear delineation between...
**What rule do you want to change?** vue/padding-line-between-tags **Additional context** Hello! This rule is very useful, as it allows you to make the content of `` more consistent. Is it...
**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?** vue/match-component-file-name **Does this change cause the rule to produce more or fewer warnings?** Fewer. **How will the change be implemented? (New option, new...