Created
January 27, 2025 22:52
-
-
Save nklatt/8826b4d9dbda71c23c744ab16e19fa88 to your computer and use it in GitHub Desktop.
Vue + TypeScript SFC without script section causes ESLint error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If using Vue with TypeScript and ESLint and get the error message: | |
You have used a rule which requires type information, but don't have parserOptions set to generate type information for this file | |
it could be because you just created a new Vue single file component | |
with a <template> section but no <script setup lang="ts"> section. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment