Skip to content

Commit

Permalink
Update linter for Vue 3
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-white committed Jan 20, 2022
1 parent 9a4e2c3 commit e6c29b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
ecmaVersion: 2020
},
extends: [
'plugin:vue/recommended',
'plugin:vue/vue3-recommended',
'@vue/airbnb'
],
env: {
Expand Down
6 changes: 3 additions & 3 deletions src/components/account/login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ export default {
name: 'AccountLogin',
components: { FormGroup, Spinner },
inject: ['container', 'requestData', 'alert'],
beforeRouteLeave() {
return !this.disabled;
},
data() {
return {
disabled: false,
Expand All @@ -64,9 +67,6 @@ export default {
mounted() {
this.$refs.email.focus();
},
beforeRouteLeave() {
return !this.disabled;
},
methods: {
navigateToNext(
next,
Expand Down

0 comments on commit e6c29b4

Please sign in to comment.