Closed vonweb closed 7 years ago
No, it's not possible. The lang
attribute has no meaning in HTML5, unlike the type
attribute used to define how to interpret the content of the tag (documentation). Like you suggested, if it is TypeScript code, you should set the type
value to something else (example].
can i disable eslint in vue files whose script has property lang="ts"; i know if i set type on script with value not match javascript-mime-types, i will be there, but is there any easier way? lang="ts" is already set