Open
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I'm using eslint-plugin-vue.
- I'm sure the problem is a parser problem. (If you are not sure, search for the issue in eslint-plugin-vue repo and open the issue in eslint-plugin-vue repo if there is no solution.
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
What version of ESLint are you using?
8.52
What version of eslint-plugin-vue
and vue-eslint-parser
are you using?
- vue-eslint-parser@9.3.2
- eslint-plugin-vue@9.18.1
What did you do?
Configuration
module.exports ={
env: {
browser: true,
es2021: true
},
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:vue/base",
"plugin:vue/vue3-essential",
"plugin:vue/vue3-recommended"
],
parser: "vue-eslint-parser",
parserOptions: {
ecmaVersion: "latest",
parser: {
ts: '@typescript-eslint/parser',
js: '@typescript-eslint/parser',
'<template>': 'espree',
},
sourceType: "module",
project: "tsconfig.json",
tsconfigRootDir: __dirname,
extraFileExtensions: ['.vue'],
},
plugins: [
"@typescript-eslint",
"vue",
"deprecation"
],
rules: {
"deprecation/deprecation": "warn",
indent: [
"error",
4,
{
"SwitchCase": 1
}
],
"linebreak-style": [
"warn",
"unix"
],
quotes: [
"warn",
"single"
],
semi: [
"error",
"always"
]
}
}
What did you expect to happen?
No error/warnings
What actually happened?
Link to Minimal Reproducible Example
N/A
Additional comments
No matter what configuration I attempt, I can not get VS 2022 to not think there is a error in the vue files. It also seems that I get no linting in the files as well. I see no warnings, when there should be.
Metadata
Metadata
Assignees
Labels
No labels