小编cip*_*ano的帖子

Firebase 部署导致多个错误

我使用 Typescript 在 VS Code 中创建了 Firebase Cloud Functions,并且 VS Code 中没有显示任何错误。但是当我部署 firebase 代码时,我收到几条错误消息。为什么我会收到所有这些错误消息,而 VS Code 却没有显示一条错误消息?我如何修复它以便 VS Code 显示错误?

错误:

  8:1   error    More than 2 blank lines not allowed                   no-multiple-empty-lines
   9:1   error    This line has a length of 108. Maximum allowed is 80  max-len
  10:1   error    This line has a length of 120. Maximum allowed is 80  max-len
  19:1   error    This line has a length of 98. Maximum allowed is 80   max-len
  26:1   error    Expected indentation of 4 spaces …
Run Code Online (Sandbox Code Playgroud)

firebase typescript visual-studio-code google-cloud-functions

1
推荐指数
1
解决办法
763
查看次数