Skip to content

Commit 27a474e

Browse files
author
qi yuhang
committed
refactor(projects): use link replace pnpm workspace
1 parent 8dc9468 commit 27a474e

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,24 @@ For example:
8282
}
8383
}
8484
```
85+
86+
### VSCode settings for ESlint
87+
88+
```json
89+
{
90+
"editor.codeActionsOnSave": {
91+
"source.fixAll.eslint": true
92+
},
93+
"editor.formatOnSave": false,
94+
"eslint.validate": [
95+
"javascript",
96+
"javascriptreact",
97+
"typescript",
98+
"typescriptreact",
99+
"vue",
100+
"svelte",
101+
"astro",
102+
"json"
103+
]
104+
}
105+
```

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@
6969
"peerDependencies": {
7070
"eslint": ">=7.4.0",
7171
"typescript": ">=4.8.0"
72-
},
72+
},
7373
"simple-git-hooks": {
7474
"commit-msg": "pnpm ras git-commit-verify",
7575
"pre-commit": "pnpm lint && ras lint-staged"
76-
}
76+
}
7777
}

0 commit comments

Comments
 (0)