Im not sure why i get this error
You have used a rule which requires parserServices to be generated. You must therefore provide a value for the "parserOptions.project"
this is my config
tsconfig
{
"compilerOptions": {
"target": "es6",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"jsx": "react",
"rootDir": "src",
"baseUrl": "src",
"paths": {
"@/*": [
"*"
]
},
"allowJs": true,
"resolveJsonModule": true
},
"include": [
"src"
],
"exclude": [
"src/main/test/cypress"
]
}
.eslintrc.json
{
"extends": "standard-with-typescript",
"parserOptions": {
"projects": "./tsconfig.json"
},
"rules": {
"@typescript-eslint/consistent-type-definitons": "off",
"@typescript-eslint/strict-boolean-expressions": "off"
}
}
also i have this AccountModel class
export type AccountModel = {
accessToken: string
}
which vscode points an error sayng "Parse error: Type expected" what im missing?