We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5a1583 commit 76d0925Copy full SHA for 76d0925
README.md
@@ -43,3 +43,22 @@ module.exports = {
43
...prettier,
44
}
45
```
46
+
47
+## 搭配 VS Code 使用更佳
48
49
+安装插件 [VS Code ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) 和 [vscode-stylelint](https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint)。
50
51
+然后在 `settings.json` 中加入以下配置:
52
53
+```json
54
+{
55
+ "editor.formatOnSave": true,
56
+ "editor.codeActionsOnSave": {
57
+ "source.fixAll.eslint": true,
58
+ "source.fixAll.stylelint": true
59
+ }
60
+}
61
62
+```
63
64
+完成以上步骤后,你就能够获得更好的格式提示,并在保存文件时自动格式化你的代码,享受工具给你带来的便捷吧😎~
0 commit comments