Add parser options

This commit is contained in:
Matthias 2024-04-26 07:00:23 +02:00
parent 8b83d1dfec
commit b1ece5eaf9

View File

@ -21,11 +21,11 @@ export default [
...compat.extends('@vue/eslint-config-typescript/recommended'),
...compat.extends('@vue/eslint-config-prettier'),
{
// languageOptions: {
// parserOptions: {
// parser: '@typescript-eslint/parser',
// },
// },
languageOptions: {
parserOptions: {
parser: '@typescript-eslint/parser',
},
},
rules: {
// // disable eslint no-shadow as it's causing false positives on typescript enums
// 'no-shadow': 'off',