Skip to content

Commit 68a1be8

Browse files
author
Lionel Bijaoui
committed
Improve Codacy score
1 parent 8d2156f commit 68a1be8

File tree

6 files changed

+8
-2
lines changed

6 files changed

+8
-2
lines changed

projects/basic/app.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
</template>
1616

1717
<script>
18+
/* eslint no-console: 0 */
1819
import mixinUtils from "../../mixins/utils.js";
1920
2021
export default {

projects/checklist/app.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
</template>
1616

1717
<script>
18+
/* eslint no-console: 0 */
1819
import { validators } from "../../../src";
1920
import mixinUtils from "../../mixins/utils.js";
2021

projects/custom/app.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
</template>
5757

5858
<script>
59+
/* eslint no-console: 0 */
5960
import mixinUtils from "../../mixins/utils.js";
6061
import VueMarkdown from "vue-markdown";
6162
@@ -182,7 +183,7 @@ https://google.com/
182183
183184
methods: {
184185
testClick(helpText, event) {
185-
// console.log(helpText, event);
186+
console.log(helpText, event);
186187
},
187188
getIcon(field, getValueFromOption) {
188189
let fieldType = getValueFromOption(field, "type");
@@ -193,7 +194,7 @@ https://google.com/
193194
date: "calendar-alt",
194195
color: "palette"
195196
};
196-
if (fieldType === "input" && typeof icons[fieldOptions.inputType] !== undefined) {
197+
if (fieldType === "input" && typeof icons[fieldOptions.inputType] !== "undefined") {
197198
return icons[fieldOptions.inputType];
198199
} else {
199200
return "file-alt";

projects/full/app.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
</template>
3535

3636
<script>
37+
/* eslint no-console: 0 */
3738
import Vue from "vue";
3839
import VueFormGenerator from "../../../src";
3940
import DataTable from "./dataTable.vue";

projects/full/schema.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint no-console: 0 */
12
import fecha from "fecha";
23

34
import { validators } from "../../../src";

projects/multi/app.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
</template>
2121

2222
<script>
23+
/* eslint no-console: 0 */
2324
import mixinUtils from "../../mixins/utils.js";
2425
2526
export default {

0 commit comments

Comments
 (0)