Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 1 addition & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"editor.defaultFormatter": "esbenp.prettier-vscode",
"eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"],
"editor.codeActionsOnSave": {
// 保存时自动修复 ESLint 错误
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"typescript.tsdk": "node_modules/typescript/lib",
"[json]": {
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "typescript-tutorial",
"version": "0.1.0",
"description": "从 JavaScript 程序员的角度总结思考,循序渐进的理解 TypeScript",
"description": "从 JavaScript 程序员的角度总结思考,循序渐进地理解 TypeScript",
"main": "README.md",
"packageManager": "[email protected]",
"scripts": {
"start": "deno run --unstable --allow-read --allow-write --allow-net --allow-run ../pagic/mod.ts build --serve --watch",
"build": "deno run --unstable --allow-read --allow-write --allow-net --allow-run ../pagic/mod.ts build",
Expand Down
Loading