Skip to content

Commit

Permalink
chore(docs): eslint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye64 committed Nov 13, 2021
1 parent cbff8bd commit 73b7e59
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ module.exports = {

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

// allow console.log during production for demo purposes
// 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
Expand Down
7 changes: 4 additions & 3 deletions docs/src/components/MarkdownLink.vue
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
<template>
<router-link
v-if="internal"
tag="a"
:to="to"
class="markdown-link"
><slot></slot></router-link>
>
<slot />
</router-link>
<a
v-else
:href="to"
target="_blank"
rel="noopener"
class="markdown-link"
>
<slot></slot>
<slot />
<q-icon :name="mdiLaunch" />
</a>
</template>
Expand Down

0 comments on commit 73b7e59

Please sign in to comment.