Open Binote opened 3 years ago
<script> export default { // Missing return type on function. eslint(@typescript-eslint/explicit-module-boundary-types) data(){} } </script>
module.exports = { root: true, env: { node: true, }, "plugins": ["@typescript-eslint"], extends: [ '@vue/typescript/recommended', ], parserOptions: { parser: '@typescript-eslint/parser', ecmaVersion: 2020, }, };
https://github.com/vuejs/vue-eslint-parser/issues/49
Only Githubissues.
When I use js components in a TS project, why check the JS script in a VUE file
comp.vue
.eslintrc.js