Skip to content

Commit 09fc7ea

Browse files
committed
fix: removing all console.logs
1 parent 74633f9 commit 09fc7ea

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.eslintrc.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,14 @@ module.exports = {
1212
plugins: [
1313
],
1414
// add your custom rules here
15-
rules: {}
15+
rules: {
16+
"no-console": [
17+
"error",
18+
{
19+
allow: [
20+
"error"
21+
]
22+
}
23+
]
24+
}
1625
}

pages/index.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,9 @@ export default Vue.extend({
7171
i < originalRhs.length;
7272
i++
7373
) {
74-
console.log(originalRhs[i])
7574
diff.push([[1, originalRhs[i]]])
7675
}
7776
}
78-
console.log(diff)
7977
this.$router.push({
8078
path: `/diff/${urlEncode(JSON.stringify(diff))}`,
8179
})

0 commit comments

Comments
 (0)