eslint-plugin-vue
eslint-plugin-vue copied to clipboard
Official ESLint plugin for Vue.js
Now that all LTS versions of node other than 18.x (which is soon to fall out of LTS) support `require(esm)`, it means we should be able to move to ES...
**Tell us about your environment** - **ESLint version:** v9.22.0 - **eslint-plugin-vue version:** 10.0.0 - **Vue version:** 3.5.13 - **Node version:** v22.14.0 **The problem you want to solve.** Many composables, from...
**Tell us about your environment** - **ESLint version:** **8.44.0** - **eslint-plugin-vue version:** **9.17.0** - **Vue version:** **3.3.4** - **Node version:** **18.17.0** **The problem you want to solve.** Can we add...
👋 Coming over from https://github.com/eslint/eslint/issues/19139 -> https://github.com/eslint/rfcs/pull/127: we're working on an RFC in ESLint core to add "ecosystem tests". We'd like to test popular third-party plugins such as `eslint-plugin-vue` as...
**Please describe what the rule should do:** Enforce a consistent style to declare functions in script setup. **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...
I wasn't sure if this was a bug report or rule change, so posting here (didn't see a Discussion section in this repo). **The problem you want to solve.** I...
**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...
ESLint [v9.17.0](https://github.com/eslint/eslint/releases/tag/v9.15.0) introduced `defaultOptions`: * Documentation: https://eslint.org/docs/latest/extend/custom-rules#option-defaults * RFC: https://github.com/eslint/rfcs/tree/main/designs/2023-rule-options-defaults Even though earlier ESLint versions don't have official support for this property (i.e. `context.options` returns the raw user-provided options rather...
**Style guide:** https://vuejs.org/v2/style-guide/#Simple-expressions-in-templates-strongly-recommended **Description:** This rule would enforce usage of simple expressions in templates. Instead of writing complex logic in templates it should be moved to computed properties and only...