浏览代码

chore: set vscode default formatter

invalid w 1 年之前
父节点
当前提交
0b9dd918d9
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      .vscode/settings.json

+ 2 - 1
.vscode/settings.json

@@ -91,7 +91,8 @@
     "editor.codeActionsOnSave": {
       "source.fixAll.eslint": true,
       "source.fixAll.stylelint": true
-    }
+    },
+    "editor.defaultFormatter": "esbenp.prettier-vscode"
   },
   "i18n-ally.localesPaths": ["src/locales/lang"],
   "i18n-ally.keystyle": "nested",