ci: remove prettier and use eslint for formatting

This commit is contained in:
2024-02-02 14:46:42 +01:00
parent 6ff8688760
commit b1e04077f9
20 changed files with 222 additions and 383 deletions
+9 -7
View File
@@ -1,19 +1,21 @@
<template>
<v-card flat outlined class='mx-3 my-3 rounded-xl'>
<v-card flat outlined class="mx-3 my-3 rounded-xl">
<v-card-title>
<span v-text='$tc(title, model.length)' />
<span v-text="$tc(title, model.length)" />
</v-card-title>
<v-list>
<v-list-item v-for='item in model' :key='item'>
<v-list-item-action @click='toggleIgnore(type, item)'>
<v-list-item v-for="item in model" :key="item">
<v-list-item-action @click="toggleIgnore(type, item)">
<v-tooltip top>
<template #activator='{ on }'>
<v-icon v-on='on'>mdi-delete-outline</v-icon>
<template #activator="{ on }">
<v-icon v-on="on">
mdi-delete-outline
</v-icon>
</template>
<span v-text="$t('filters.remove')" />
</v-tooltip>
</v-list-item-action>
<v-list-item-title><span v-text='item' /></v-list-item-title>
<v-list-item-title><span v-text="item" /></v-list-item-title>
</v-list-item>
</v-list>
</v-card>
+30 -30
View File
@@ -1,45 +1,45 @@
<template>
<div :key='isAuthenticated'>
<v-container fluid grid-list-md class='app-fade-in'>
<div :key="isAuthenticated">
<v-container fluid grid-list-md class="app-fade-in">
<v-row wrap>
<v-col cols='12'>
<v-col cols="12">
<v-card>
<v-container fluid grid-list-md>
<v-row wrap>
<v-col xs='12' sm='12' md='4' lg='4'>
<v-col xs="12" sm="12" md="4" lg="4">
<list
:model='bands || []'
title='filters.band'
type='band'
:toggle-ignore='toggleIgnore'
:model="bands || []"
title="filters.band"
type="band"
:toggle-ignore="toggleIgnore"
/>
</v-col>
<v-col xs='12' sm='12' md='4' lg='4'>
<v-col xs="12" sm="12" md="4" lg="4">
<v-row>
<v-col cols='12'>
<v-col cols="12">
<list
:model='states || []'
title='filters.state'
type='state'
:toggle-ignore='toggleIgnore'
:model="states || []"
title="filters.state"
type="state"
:toggle-ignore="toggleIgnore"
/>
<list
:model='municipalities || []'
title='filters.municipality'
type='municipality'
:toggle-ignore='toggleIgnore'
:model="municipalities || []"
title="filters.municipality"
type="municipality"
:toggle-ignore="toggleIgnore"
/>
<list
:model='cities || []'
title='filters.city'
type='city'
:toggle-ignore='toggleIgnore'
:model="cities || []"
title="filters.city"
type="city"
:toggle-ignore="toggleIgnore"
/>
<list
:model='danceHalls || []'
title='filters.hall'
type='danceHall'
:toggle-ignore='toggleIgnore'
:model="danceHalls || []"
title="filters.hall"
type="danceHall"
:toggle-ignore="toggleIgnore"
/>
</v-col>
</v-row>
@@ -51,9 +51,9 @@
</v-row>
</v-container>
<v-snackbar
v-model='snackbar.active'
:color='snackbar.color'
:timeout='5000'
v-model="snackbar.active"
:color="snackbar.color"
:timeout="5000"
>
{{ snackbar.text }}
</v-snackbar>
@@ -81,7 +81,7 @@ export default {
components: {
List
},
setup() {
setup () {
const state = useState()
const { t } = useTranslation()
state.setTitle(t('app.links.filters'))