diff --git a/client/.eslintrc.cjs b/client/.eslintrc.cjs index 2ab20f7b..f29db5b6 100644 --- a/client/.eslintrc.cjs +++ b/client/.eslintrc.cjs @@ -21,5 +21,8 @@ module.exports = { "plugin:cypress/recommended" ] } - ] + ], + "rules": { + "quotes": ["error", "single"] + } } diff --git a/client/.prettierrc b/client/.prettierrc new file mode 100644 index 00000000..f63033f0 --- /dev/null +++ b/client/.prettierrc @@ -0,0 +1,6 @@ +{ + "semi": false, + "singleQuote": true, + "tabWidth": 2, + "printWidth": 120 +} diff --git a/client/src/router/index.ts b/client/src/router/index.ts index 1fad90d4..ac9492a7 100644 --- a/client/src/router/index.ts +++ b/client/src/router/index.ts @@ -1,5 +1,5 @@ import { createRouter, createWebHistory } from 'vue-router' -import HomeView from '../views/HomeView.vue' +import HomeView from '../views/HomeView.vue'; import learningPathRoutes from './learningpath.routes' const router = createRouter({ @@ -14,7 +14,7 @@ const router = createRouter({ } }, { - path: "/login", + path: '/login', component: HomeView, beforeEnter(to, from, next) { window.location.href = "/sso/login/";