Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix lint errors #225

Merged
merged 1 commit into from
Oct 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/Comment.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</router-link>
<span class="date-posted">{{ comment.createdAt | date }}</span>
<span v-if="isCurrentUser" class="mod-options">
<i class="ion-trash-a" v-on:click="destroy(slug, comment.id);"></i>
<i class="ion-trash-a" v-on:click="destroy(slug, comment.id)"></i>
</span>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/VPagination.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
:data-test="`page-link-${page}`"
:key="page"
:class="paginationClass(page)"
@click.prevent="changePage(page);"
@click.prevent="changePage(page)"
>
<a class="page-link" href v-text="page" />
</li>
Expand Down
7 changes: 3 additions & 4 deletions src/views/ArticleEdit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="row">
<div class="col-md-10 offset-md-1 col-xs-12">
<RwvListErrors :errors="errors" />
<form v-on:submit.prevent="onPublish(article.slug);">
<form v-on:submit.prevent="onPublish(article.slug)">
<fieldset :disabled="inProgress">
<fieldset class="form-group">
<input
Expand Down Expand Up @@ -37,16 +37,15 @@
class="form-control"
placeholder="Enter tags"
v-model="tagInput"
v-on:keypress.enter.prevent="addTag(tagInput);"
v-on:keypress.enter.prevent="addTag(tagInput)"
/>
<div class="tag-list">
<span
class="tag-default tag-pill"
v-for="(tag, index) of article.tagList"
:key="tag + index"
>
<i class="ion-close-round" v-on:click="removeTag(tag);">
</i>
<i class="ion-close-round" v-on:click="removeTag(tag)"> </i>
{{ tag }}
</span>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/views/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<ul v-if="errors" class="error-messages">
<li v-for="(v, k) in errors" :key="k">{{ k }} {{ v | error }}</li>
</ul>
<form v-on:submit.prevent="onSubmit(email, password);">
<form v-on:submit.prevent="onSubmit(email, password)">
<fieldset class="form-group">
<input
class="form-control form-control-lg"
Expand Down
4 changes: 2 additions & 2 deletions src/views/Profile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
<button
class="btn btn-sm btn-secondary action-btn"
v-if="profile.following"
@click.prevent="unfollow();"
@click.prevent="unfollow()"
>
<i class="ion-plus-round"></i> &nbsp;Unfollow
{{ profile.username }}
</button>
<button
class="btn btn-sm btn-outline-secondary action-btn"
v-if="!profile.following"
@click.prevent="follow();"
@click.prevent="follow()"
>
<i class="ion-plus-round"></i> &nbsp;Follow
{{ profile.username }}
Expand Down
2 changes: 1 addition & 1 deletion src/views/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="row">
<div class="col-md-6 offset-md-3 col-xs-12">
<h1 class="text-xs-center">Your Settings</h1>
<form @submit.prevent="updateSettings();">
<form @submit.prevent="updateSettings()">
<fieldset>
<fieldset class="form-group">
<input
Expand Down