vuejs/vetur

Missing props warning hightlight should not affect slots or children

Open

#2,238 opened on Sep 4, 2020

View on GitHub
 (3 comments) (2 reactions) (0 assignees)TypeScript (594 forks)github user discovery
feature-requestgood first issue

Repository metrics

Stars
 (5,752 stars)
PR merge metrics
 (PR metrics pending)

Description

  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ

Info

  • Platform: macOS
  • Vetur version: 0.27.1
  • VS Code version: 1.48.2

Problem

When a component get missing props warning, it highlights all the children of the component, the file become a visual mess.

image

It should only highlight this part of the component

image

Contributor guide