Skip to content
This repository was archived by the owner on Apr 9, 2022. It is now read-only.

Commit fc6f60b

Browse files
committed
fix lint warnings
1 parent 08e1aaf commit fc6f60b

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

client/src/views/Lost.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</template>
88

99
<script>
10-
export default {
11-
name: 'lost',
12-
};
10+
export default {
11+
name: 'lost',
12+
};
1313
</script>

client/src/views/PasswordResetConfirm.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
<template v-else-if="!resetCompleted">
88
<form @submit.prevent="submit">
99
<input v-model="inputs.password1" type="password" id="password1" placeholder="password">
10-
<input v-model="inputs.password2" type="password" id="password2" placeholder="confirm password">
10+
<input v-model="inputs.password2" type="password" id="password2"
11+
placeholder="confirm password">
1112
</form>
1213
<button @click="resetPassword(inputs)">
1314
reset password

client/src/views/Register.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
<form @submit.prevent="submit">
99
<input v-model="inputs.username" type="text" id="username" placeholder="username">
1010
<input v-model="inputs.password1" type="password" id="password1" placeholder="password">
11-
<input v-model="inputs.password2" type="password" id="password2" placeholder="confirm password">
11+
<input v-model="inputs.password2" type="password" id="password2"
12+
placeholder="confirm password">
1213
<input v-model="inputs.email" type="email" id="email" placeholder="email">
1314
</form>
1415
<button @click="createAccount(inputs)">

client/test/unit/index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
import Vue from 'vue'
1+
import Vue from 'vue';
22

3-
Vue.config.productionTip = false
3+
Vue.config.productionTip = false;
44

55
// require all test files (files that ends with .spec.js)
6-
const testsContext = require.context('./specs', true, /\.spec$/)
7-
testsContext.keys().forEach(testsContext)
6+
const testsContext = require.context('./specs', true, /\.spec$/);
7+
testsContext.keys().forEach(testsContext);
88

99
// require all src files except main.js for coverage.
1010
// you can also change this to match only the subset of files that
1111
// you want coverage for.
12-
const srcContext = require.context('../../src', true, /^\.\/(?!main(\.js)?$)/)
13-
srcContext.keys().forEach(srcContext)
12+
const srcContext = require.context('../../src', true, /^\.\/(?!main(\.js)?$)/);
13+
srcContext.keys().forEach(srcContext);

0 commit comments

Comments
 (0)