Skip to content

Update HelloWorld.vue #265

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

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
17 changes: 17 additions & 0 deletions packages/demo-vue/src/components/HelloWorld.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<template>
<div class="hello">
<!-- skipcq: JS-0693 Need to skip this -->
<h1 v-html="msg"></h1>
<h1 v-html="msg"></h1><p>{{ "Welcome to DeepSource World" }}</p> <!-- Need to skip this. skipcq: JS-0716 -->
<!-- skipcq: JS-0693 Need to skip this -->
<h1 v-html="msg"></h1><p>{{ "Welcome to DeepSource World" }}</p><!-- skipcq: JS-0716 Need to skip this -->
<p>{{ "Welcome to DeepSource World" }}</p>
<p>
For a guide and recipes on how to configure / customize this project,<br />
Expand Down Expand Up @@ -82,6 +86,19 @@
<script>
import Vue from "vue";

// skipcq: JS-0005, JS-0003
debugger; if (true) { /** a */ }

debugger; // skipcq: JS-0005

// some comment. skipcq: JS-0005
debugger;

// skipcq: JS-0005 some comment
debugger;

debugger;

Vue.component("HelloWorld", {
data: {
msg: "Welcome to DeepSource",
Expand Down