Use stricter Vue eslint setting (#6833)

This commit is contained in:
Rijk van Zanten
2021-07-15 19:49:59 +02:00
committed by GitHub
parent 84f12a51e7
commit 5f7dce54e2
229 changed files with 1282 additions and 1246 deletions

View File

@@ -2,7 +2,7 @@
<div class="input-code codemirror-custom-styles" :class="{ disabled }">
<div ref="codemirrorEl"></div>
<v-button small icon secondary v-if="template" v-tooltip.left="t('fill_template')" @click="fillTemplate">
<v-button v-if="template" v-tooltip.left="t('fill_template')" small icon secondary @click="fillTemplate">
<v-icon name="playlist_add" />
</v-button>
</div>
@@ -30,7 +30,6 @@ import formatTitle from '@directus/format-title';
import importCodemirrorMode from './import-codemirror-mode';
export default defineComponent({
emits: ['input'],
props: {
disabled: {
type: Boolean,
@@ -65,6 +64,7 @@ export default defineComponent({
default: null,
},
},
emits: ['input'],
setup(props, { emit }) {
const { t } = useI18n();