Open iamandrewluca opened 4 days ago
@iamandrewluca the vscode extension doesn't know yet which attributes are HTML attributes and which ones are valid component props. That's why this is marked as a deprecated tag/prop. This capability could be added in the future.
Vue - Official extension or vue-tsc version
v2.0.22
VSCode version
v1.90.2
Vue version
v3.4.30
TypeScript version
v5.5.2
System Info
Steps to reproduce
Creating an SFC Vue component, in the template when using any HTML deprecated attributes will be highlighted in red, even if that component has that prop.
Link to minimal reproduction
https://github.com/iamandrewluca/issue-volar-deprecated-highlight/blob/main/src/App.vue
Any additional comments?
https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/align
These are all my enabled extensions