-
-
Notifications
You must be signed in to change notification settings - Fork 696
Closed as not planned
Description
Tell us about your environment
- ESLint version: Latest
- eslint-plugin-vue version: Latest
- Node version: Latest
The problem you want to solve.
Many people (possibly most) that use Typescript and Vue use the official first-party Vue Class Components extension for Vue. In this library, components are defined using the @Component
decorator. I think this is common enough that rules that check components (such as no-unregistered-components) should also accept @Component
without having to add a // @vue/component
comment above
Your take on the correct solution to problem.
Modify isVueComponent to include a check for an @Component
decorator. I have never contributed here before, but I would be willing to try implementing this too, if I could have some guidance from you guys.
Additional context
trailskr and sibbl