refactor(lint): fixed lint issues

This commit is contained in:
Corentin Thomasset 2021-05-17 23:39:32 +02:00
parent 05da3752ca
commit e8ea193ff0
No known key found for this signature in database
GPG key ID: DBD997E935996158
5 changed files with 11 additions and 12 deletions

View file

@ -10,11 +10,11 @@
<template v-slot:append> <template v-slot:append>
<v-menu v-model="menu" top nudge-bottom="101" nudge-left="16" :close-on-content-click="false"> <v-menu v-model="menu" top nudge-bottom="101" nudge-left="16" :close-on-content-click="false">
<template v-slot:activator="{ on }"> <template v-slot:activator="{ on }">
<div :style="swatchStyle" v-on="on"/> <div :style="swatchStyle" v-on="on" />
</template> </template>
<v-card> <v-card>
<v-card-text class="pa-0"> <v-card-text class="pa-0">
<v-color-picker v-model="color" flat @input="$emit('input', color)"/> <v-color-picker v-model="color" flat @input="$emit('input', color)" />
</v-card-text> </v-card-text>
</v-card> </v-card>
</v-menu> </v-menu>

View file

@ -26,7 +26,7 @@
<v-icon>{{ item.config.icon }}</v-icon> <v-icon>{{ item.config.icon }}</v-icon>
</v-list-item-action> </v-list-item-action>
<v-list-item-content> <v-list-item-content>
<v-list-item-title v-text="item.config.title"/> <v-list-item-title v-text="item.config.title" />
</v-list-item-content> </v-list-item-content>
</v-list-item> </v-list-item>
</v-list> </v-list>

View file

@ -3,7 +3,7 @@
<v-row> <v-row>
<v-col md="3" sm="12" class="pt-0 pb-0"> <v-col md="3" sm="12" class="pt-0 pb-0">
<div class="text-center"> <div class="text-center">
<v-switch v-model="useCurrentDate" label="Use current date"/> <v-switch v-model="useCurrentDate" label="Use current date" />
</div> </div>
</v-col> </v-col>
@ -31,7 +31,7 @@
</v-row> </v-row>
<br> <br>
<v-divider/> <v-divider />
<br> <br>
<br> <br>

View file

@ -1,6 +1,6 @@
<template> <template>
<ToolWrapper :config="config()"> <ToolWrapper :config="config()">
<v-slider v-model="paragraphs" min="1" max="20" label="Paragraphs" thumb-label/> <v-slider v-model="paragraphs" min="1" max="20" label="Paragraphs" thumb-label />
<v-range-slider <v-range-slider
v-model="sentencePerParagraph" v-model="sentencePerParagraph"
min="1" min="1"
@ -16,8 +16,8 @@
thumb-label thumb-label
hide-details hide-details
/> />
<v-checkbox v-model="startWithLoremIpsum" label="Start with 'Lorem ipsum ...'" hide-details/> <v-checkbox v-model="startWithLoremIpsum" label="Start with 'Lorem ipsum ...'" hide-details />
<v-checkbox v-model="asHTML" label="As HTML"/> <v-checkbox v-model="asHTML" label="As HTML" />
<v-textarea <v-textarea
v-model="loremIpsum" v-model="loremIpsum"

View file

@ -8,7 +8,7 @@
label="Data" label="Data"
:rules="rules.value" :rules="rules.value"
/> />
<v-slider v-model="size" min="100" max="1920" label="Size (preview will not change): " thumb-label/> <v-slider v-model="size" min="100" max="1920" label="Size (preview will not change): " thumb-label />
<v-select <v-select
v-model="level" v-model="level"
outlined outlined
@ -17,13 +17,12 @@
/> />
<v-row> <v-row>
<v-col cols="12" md="6" sm="12"> <v-col cols="12" md="6" sm="12">
<ColorInput v-model="fgColor" label="Foreground color"/> <ColorInput v-model="fgColor" label="Foreground color" />
</v-col> </v-col>
<v-col cols="12" md="6" sm="12"> <v-col cols="12" md="6" sm="12">
<ColorInput v-model="bgColor" label="Background color"/> <ColorInput v-model="bgColor" label="Background color" />
</v-col> </v-col>
</v-row> </v-row>
</v-col> </v-col>
<v-col cols="12" lg="6" sm="12" class="text-center mt-5 "> <v-col cols="12" lg="6" sm="12" class="text-center mt-5 ">