-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
23 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
{ | ||
// 以下程序用于格式化Vue项目,其他项目可以根据原理一通百通。 | ||
// 设置保存时格式化。只用于用于格式化css/less程序 | ||
"editor.formatOnSave": true, | ||
"javascript.format.enable": false, | ||
"typescript.format.enable": false, | ||
// 关闭vetur的js/ts/html的formatter。html用eslint-plugin-vue格式化。 | ||
// js/ts程序用eslint,防止vetur中的prettier与eslint格式化冲突 | ||
"vetur.format.defaultFormatter.html": "none", | ||
"vetur.format.defaultFormatter.js": "none", | ||
"vetur.format.defaultFormatter.ts": "none", | ||
"vetur.format.defaultFormatter.css": "none", | ||
"vetur.format.defaultFormatter.scss": "none", | ||
// 开启eslint自动修复js/ts功能 | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": true | ||
}, | ||
"cSpell.words": [ | ||
"wecom" | ||
], | ||
} | ||
// 以下程序用于格式化Vue项目,其他项目可以根据原理一通百通。 | ||
// 设置保存时格式化。只用于用于格式化css/less程序 | ||
"editor.formatOnSave": true, | ||
"javascript.format.enable": false, | ||
"typescript.format.enable": false, | ||
// 关闭vetur的js/ts/html的formatter。html用eslint-plugin-vue格式化。 | ||
// js/ts程序用eslint,防止vetur中的prettier与eslint格式化冲突 | ||
"vetur.format.defaultFormatter.html": "none", | ||
"vetur.format.defaultFormatter.js": "none", | ||
"vetur.format.defaultFormatter.ts": "none", | ||
"vetur.format.defaultFormatter.css": "none", | ||
"vetur.format.defaultFormatter.scss": "none", | ||
// 开启eslint自动修复js/ts功能 | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": true | ||
}, | ||
"cSpell.words": [ | ||
"wecom" | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters