Skip to content

Commit

Permalink
Fix lint errors (gothinkster#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwholloway authored and igeligel committed Oct 6, 2019
1 parent 7303974 commit 493e400
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
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

0 comments on commit 493e400

Please sign in to comment.