Skip to content

Why can volar detect that I am using a component that lacks a prop, but eslint cannot detect it? #3462

Answered by so1ve
zuohuaiyu asked this question in Q&A

You must be logged in to vote

ESLint never checks whether a prop is missing, nor the arguments passed to a function. These diagnostics are provided by language service, not by ESLint. ESLint is a static analyzer.

Replies: 1 comment 1 reply

You must be logged in to vote
1 reply
@zuohuaiyu

Answer selected by so1ve
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants