diff options
author | Derick Montague <derick.montague@ibm.com> | 2019-12-20 22:26:53 +0300 |
---|---|---|
committer | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2020-01-29 01:18:05 +0300 |
commit | e2fd156773dbc2e919c912673de092d707e8ef69 (patch) | |
tree | 5b861f723e71156def2a096d0542de96841ee27a /src/views/Login/Login.vue | |
parent | f65ee346bedb1811e88b12542abce0d18bb5fc32 (diff) | |
download | webui-vue-e2fd156773dbc2e919c912673de092d707e8ef69.tar.xz |
Fix linting in script blocks in vue files
- Removed the .eslintrc and added the pretteri rules to the eslintrc file
- Ran `npm run lint --fix`
Signed-off-by: Derick Montague <derick.montague@ibm.com>
Change-Id: I4e36c1967ae9b4d839ef88f1d47ffa20ab4e4991
Diffstat (limited to 'src/views/Login/Login.vue')
-rw-r--r-- | src/views/Login/Login.vue | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/views/Login/Login.vue b/src/views/Login/Login.vue index 7914ea62..b6adf9eb 100644 --- a/src/views/Login/Login.vue +++ b/src/views/Login/Login.vue @@ -47,11 +47,11 @@ <script> export default { - name: "Login", + name: 'Login', data() { return { - username: "", - password: "" + username: '', + password: '' }; }, methods: { @@ -59,8 +59,8 @@ export default { const username = this.username; const password = this.password; this.$store - .dispatch("authentication/login", [username, password]) - .then(() => this.$router.push("/")) + .dispatch('authentication/login', [username, password]) + .then(() => this.$router.push('/')) .catch(error => console.log(error)); } } @@ -68,9 +68,9 @@ export default { </script> <style lang="scss" scoped> -@import "~bootstrap/scss/functions"; -@import "~bootstrap/scss/variables"; -@import "~bootstrap/scss/mixins"; +@import '~bootstrap/scss/functions'; +@import '~bootstrap/scss/variables'; +@import '~bootstrap/scss/mixins'; .login-container { @include media-breakpoint-up(md) { |