解决方法:
一.关闭ESlint

二.卸载ESlint

三.修改VScode语法规则
1.在根目录创建.prettierrc文件,使用单引号并且大括号后不使用分号。

{
    "semi":false,
    "singleQuote": true
}

2.在.eslintrc.js中的rules添加不校验规则

'space-before-function-paren':0

相关文章:

  • 2021-05-22
  • 2022-12-23
  • 2022-01-03
  • 2023-03-10
  • 2021-08-04
  • 2021-08-19
  • 2021-09-01
猜你喜欢
  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
  • 2021-07-20
  • 2022-12-23
  • 2021-12-24
相关资源
相似解决方案