Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

格式化问题 #6

Open
Lonelycity opened this issue Aug 19, 2020 · 1 comment
Open

格式化问题 #6

Lonelycity opened this issue Aug 19, 2020 · 1 comment

Comments

@Lonelycity
Copy link

使用vscode 开发,那种校验工具会冲突有什么配置方案吗?

@Yill625
Copy link

Yill625 commented Nov 7, 2020

试试这个配置

{
"eslint.enable":true,
"eslint.options": {
  "extensions":[
    ".js",
    ".vue",
    ".ts",
    ".tsx"
  ]
 },
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "typescript",
    "typescriptreact"
  ],
  "css.validate": true,
  "scss.validate": true,
  "less.validate": true,
  "editor.codeActionsOnSave": {
     "source.fixAll": true
  },
}

@Lonelycity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants