Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

chore: switch to volar #222

Merged
merged 2 commits into from
Jun 16, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,14 @@
"note": "note"
}
}
}
},
"overrides": [
{
"files": ["*.vue"],
"rules": {
"//": "handled by Volar",
antfu marked this conversation as resolved.
Show resolved Hide resolved
"@typescript-eslint/no-unused-vars": "off"
}
}
]
}
2 changes: 1 addition & 1 deletion docs/content/1.get-started/1.installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Recommended setup is:

* **Node.js** <sup>*</sup> (latest LTS version) [[Download](https://nodejs.org/en/download/)]
* **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)]

<sup>*</sup> If you already have Node.js installed, check with `node --version` to ensure using `v14` or `v16`.
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"object-hash": "^2.2.0",
"ts-jest": "^27.0.3",
"typescript": "^4.3.2",
"unbuild": "^0.3.0"
"unbuild": "^0.3.0",
"vue": "^3.1.1"
antfu marked this conversation as resolved.
Show resolved Hide resolved
}
}
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"moduleResolution": "Node",
"strict": false,
"allowJs": true,
"noUnusedLocals": true,
"resolveJsonModule": true,
"types": [
"node",
Expand Down
3 changes: 2 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9769,6 +9769,7 @@ __metadata:
ts-jest: ^27.0.3
typescript: ^4.3.2
unbuild: ^0.3.0
vue: 3
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -13427,7 +13428,7 @@ __metadata:
languageName: node
linkType: hard

"vue@npm:3.1.1, vue@npm:^3.1.1":
"vue@npm:3, vue@npm:3.1.1, vue@npm:^3.1.1":
version: 3.1.1
resolution: "vue@npm:3.1.1"
dependencies:
Expand Down