You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module.exports={extends: [// add more generic rulesets here, such as:// 'eslint:recommended','plugin:vue/vue3-recommended',// 'plugin:vue/recommended' // Use this if you are using Vue.js 2.x.],rules: {// override/add rules settings here, such as:// 'vue/no-unused-vars': 'error''vue/no-undef-components': 'error',},parser: 'vue-eslint-parser',parserOptions: {extraFileExtensions: ['.vue'],parser: '@typescript-eslint/parser',ecmaVersion: 2022,// Allows for the parsing of modern ECMAScript featuressourceType: 'module',// Allows for the use of imports},};
Checklist
Tell us about your environment
Please show your full configuration:
What did you do?
What did you expect to happen?
<HelloWorld msg="Vite + Vue" />
is expected to report no-undef-component error like<Foo></Foo>
What actually happened?
<HelloWorld msg="Vite + Vue" />
doesn't trigger a eslint errorRepository to reproduce this issue
https://github.com/Amorites/eslint-plugin-vue-repro/blob/main/src/App.vue
The text was updated successfully, but these errors were encountered: