Fixed TypeScript error after create new file

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-03-26 20:49:19 +04:00
parent 5d9c8c8b4e
commit 582698ebfa
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,9 @@ module.exports = {
"plugin:import/typescript",
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
createDefaultProgram: true,
},
"plugins": [
"@typescript-eslint",
],

View File

@ -10,6 +10,7 @@ module.exports = {
],
"parser": "vue-eslint-parser",
"parserOptions": {
createDefaultProgram: true,
extraFileExtensions: [
".vue",
],