Fix lint issues

And disable eslint when building in prod mode

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-11-30 10:24:11 +01:00
parent da42522073
commit 2d541f2e32
161 changed files with 3869 additions and 1236 deletions

View File

@@ -25,7 +25,9 @@
<section>
<p>
{{
$t("Create to-do lists for all the tasks you need to do, assign them and set due dates.")
$t(
"Create to-do lists for all the tasks you need to do, assign them and set due dates."
)
}}
</p>
<form class="form" @submit.prevent="createNewTodoList">
@@ -35,7 +37,9 @@
<b-button native-type="submit">{{ $t("Create a new list") }}</b-button>
</form>
<div v-for="todoList in todoLists" :key="todoList.id">
<router-link :to="{ name: RouteName.TODO_LIST, params: { id: todoList.id } }">
<router-link
:to="{ name: RouteName.TODO_LIST, params: { id: todoList.id } }"
>
<h3 class="is-size-3">
{{
$tc("{title} ({count} todos)", todoList.todos.total, {
@@ -45,7 +49,11 @@
}}
</h3>
</router-link>
<compact-todo :todo="todo" v-for="todo in todoList.todos.elements" :key="todo.id" />
<compact-todo
:todo="todo"
v-for="todo in todoList.todos.elements"
:key="todo.id"
/>
</div>
</section>
</div>