VUE如何关闭代码规范extra semicolon/VUE


  ✘  http://eslint.org/docs/rules/no-multiple-empty-lines  More than 1 blank line not allowed
  src\components\tree\tree.vue:13:1

   ^

  ✘  http://eslint.org/docs/rules/semi                     Extra semicolon
  src\components\tree\tree.vue:55:31
          this.open = !this.open;
                                 ^


✘ 2 problems (2 errors, 0 warnings)


Errors:
  1  http://eslint.org/docs/rules/semi
  1  http://eslint.org/docs/rules/no-multiple-empty-lines

改一下配置,true改成false

在这里插入图片描述

注:在vscode中,按照文件名搜索文件,快捷键为Ctrl+p

 

Logo

前往低代码交流专区

更多推荐