Skip to content

Commit 73b7e59

Browse files
committed
chore(docs): eslint fixes
1 parent cbff8bd commit 73b7e59

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ module.exports = {
9090

9191
'vue/singleline-html-element-content-newline': 'off',
9292
'vue/no-multiple-template-root': 'off',
93+
'vue/multi-word-component-names': 'off',
9394

9495
// allow console.log during production for demo purposes
9596
// 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off'

docs/src/components/MarkdownLink.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
<template>
22
<router-link
33
v-if="internal"
4-
tag="a"
54
:to="to"
65
class="markdown-link"
7-
><slot></slot></router-link>
6+
>
7+
<slot />
8+
</router-link>
89
<a
910
v-else
1011
:href="to"
1112
target="_blank"
1213
rel="noopener"
1314
class="markdown-link"
1415
>
15-
<slot></slot>
16+
<slot />
1617
<q-icon :name="mdiLaunch" />
1718
</a>
1819
</template>

0 commit comments

Comments
 (0)