Fixed TypeScript error after create new file
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
5d9c8c8b4e
commit
582698ebfa
@ -9,6 +9,9 @@ module.exports = {
|
|||||||
"plugin:import/typescript",
|
"plugin:import/typescript",
|
||||||
],
|
],
|
||||||
"parser": "@typescript-eslint/parser",
|
"parser": "@typescript-eslint/parser",
|
||||||
|
"parserOptions": {
|
||||||
|
createDefaultProgram: true,
|
||||||
|
},
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"@typescript-eslint",
|
"@typescript-eslint",
|
||||||
],
|
],
|
||||||
|
@ -10,6 +10,7 @@ module.exports = {
|
|||||||
],
|
],
|
||||||
"parser": "vue-eslint-parser",
|
"parser": "vue-eslint-parser",
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
|
createDefaultProgram: true,
|
||||||
extraFileExtensions: [
|
extraFileExtensions: [
|
||||||
".vue",
|
".vue",
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user