chore: switch to volar (#222)

* chore: switch to Volar, close #221

* chore: update
This commit is contained in:
Anthony Fu 2021-06-16 19:18:38 +08:00 committed by GitHub
parent 9750009cc5
commit e4bb36883a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 2 deletions

View File

@ -23,5 +23,13 @@
"note": "note" "note": "note"
} }
} }
} },
"overrides": [
{
"files": ["*.vue"],
"rules": {
"@typescript-eslint/no-unused-vars": "off"
}
}
]
} }

View File

@ -10,7 +10,7 @@ Recommended setup is:
* **Node.js** <sup>*</sup> (latest LTS version) [[Download](https://nodejs.org/en/download/)] * **Node.js** <sup>*</sup> (latest LTS version) [[Download](https://nodejs.org/en/download/)]
* **Visual Studio Code** [[Download](https://code.visualstudio.com/)] * **Visual Studio Code** [[Download](https://code.visualstudio.com/)]
* **Vetur extension** [[Download](https://marketplace.visualstudio.com/items?itemName=octref.vetur)] * **Volar extension** [[Download](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar)]
* **Yarn package manager** [[Download](https://classic.yarnpkg.com/en/docs/install#windows-stable)] * **Yarn package manager** [[Download](https://classic.yarnpkg.com/en/docs/install#windows-stable)]
<sup>*</sup> If you already have Node.js installed, check with `node --version` to ensure using `v14` or `v16`. <sup>*</sup> If you already have Node.js installed, check with `node --version` to ensure using `v14` or `v16`.

View File

@ -7,6 +7,7 @@
"moduleResolution": "Node", "moduleResolution": "Node",
"strict": false, "strict": false,
"allowJs": true, "allowJs": true,
"noUnusedLocals": true,
"resolveJsonModule": true, "resolveJsonModule": true,
"types": [ "types": [
"node", "node",