Skip to content

做最好的前端配置(The better config for vscode)

License

Notifications You must be signed in to change notification settings

ifredom/vscode-config-better

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vscode-config-better

最好的 vscode 前端配置。(The better config for vscode)

how to use

复制到 vscode 中的 settings.json 中。(Copy content to vscode settings.json file)

避免折行

  // 使用vetur格式化vue文件时,避免折行
  "vetur.format.defaultFormatter.html": "js-beautify-html",
  "vetur.format.defaultFormatterOptions": {
    "js-beautify-html": {
      "wrap_attributes": "auto"
    }
  },
  "vetur.format.defaultFormatter.js": "vscode-typescript",

Delete eslint(prettier/prettier) 错误的解决办法

项目根目录下创建文件.prettierrc,然后重启vscode

{
  "endOfLine": "auto"
}

About

做最好的前端配置(The better config for vscode)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published