fix(lint): updated slot

This commit is contained in:
Corentin Thomasset 2021-05-22 00:45:00 +02:00
parent 65bce59f59
commit fe8de0b3cf
No known key found for this signature in database
GPG key ID: DBD997E935996158
6 changed files with 15 additions and 8 deletions

View file

@ -7,9 +7,9 @@
:label="label" :label="label"
@input="$emit('input', color)" @input="$emit('input', color)"
> >
<template v-slot:append> <template #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 #activator="{ on }">
<div :style="swatchStyle" v-on="on" /> <div :style="swatchStyle" v-on="on" />
</template> </template>
<v-card> <v-card>

View file

@ -15,7 +15,7 @@
cache-items cache-items
@change="choose" @change="choose"
> >
<template v-slot:no-data> <template #no-data>
<v-list-item> <v-list-item>
<v-list-item-title> <v-list-item-title>
Search for the <strong>tool</strong> you need! Search for the <strong>tool</strong> you need!

View file

@ -5,7 +5,7 @@
fixed fixed
app app
> >
<template v-slot:prepend> <template #prepend>
<div class="small-hero"> <div class="small-hero">
<HeroGradient /> <HeroGradient />
<div class="small-hero-content"> <div class="small-hero-content">
@ -47,7 +47,7 @@
</div> </div>
</v-list> </v-list>
<template v-slot:append> <template #append>
<v-divider /> <v-divider />
<div class="pa-5 navigation-drawer-footer"> <div class="pa-5 navigation-drawer-footer">

9
package-lock.json generated
View file

@ -13430,6 +13430,12 @@
"resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz",
"integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA=="
}, },
"nan": {
"version": "2.14.2",
"resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz",
"integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==",
"optional": true
},
"nanoid": { "nanoid": {
"version": "3.1.23", "version": "3.1.23",
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.23.tgz", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.23.tgz",
@ -18751,7 +18757,8 @@
"integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==", "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==",
"optional": true, "optional": true,
"requires": { "requires": {
"bindings": "^1.5.0" "bindings": "^1.5.0",
"nan": "^2.12.1"
} }
}, },
"glob-parent": { "glob-parent": {

View file

@ -8,7 +8,7 @@
"start": "nuxt-ts start", "start": "nuxt-ts start",
"generate": "nuxt-ts generate", "generate": "nuxt-ts generate",
"lint:commit": "commitlint --from $(git rev-list --max-parents=0 HEAD)", "lint:commit": "commitlint --from $(git rev-list --max-parents=0 HEAD)",
"lint:js": "eslint --ext .js,.vue --ignore-path .gitignore .", "lint:js": "eslint --ext .js,.vue --ignore-path=.gitignore --max-warnings=0 .",
"lint": "npm run lint:js && npm run lint:commit", "lint": "npm run lint:js && npm run lint:commit",
"test": "jest" "test": "jest"
}, },

View file

@ -44,7 +44,7 @@
</div> </div>
<br> <br>
<v-simple-table dense> <v-simple-table dense>
<template v-slot:default> <template #default>
<thead> <thead>
<tr> <tr>
<th class="text-left"> <th class="text-left">