eslint-plugin-vue
eslint-plugin-vue copied to clipboard
Official ESLint plugin for Vue.js
**Please describe what the rule should do:** Disallow `name` from being set on Option API style components. The `name` property should generally be the file name, and since vue-loader defaults...
**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...
Will be very good if you add special comment for vue mixins, line comment @vue/component **Tell us about your environment** - **ESLint version: ^8.26.0** - **eslint-plugin-vue version: ^9.7.0** - **Node...
- closes #2187
**What rule do you want to change?** Allow [`v-on-handler-style`](https://eslint.vuejs.org/rules/v-on-handler-style.html) rule to accept `["inline", "inline-function"]` as the first option. I find method binding syntax `@event="handler"` unsafe as it's sometimes not clear...
I've tried to contribute to the documentation, but when I run `npm run docs:watch`, I only get a blank page with the following error: ``` Uncaught TypeError: require is not...
Fixes #2465
Fixes #2460 Allow using `["inline", "inline-function"]` option for `v-on-handler-style` rule. In this case: - `method` style will be forbidden - ❌ `@click="myHandler"` - `inline-function` style will only be accepted with...
Related to: https://github.com/vuejs/eslint-plugin-vue/issues/2448 📚 Description This PR adds an example on how to use this plugin with TypeScript, which is a common use case. 📜 Notes The getting started guide...