style: fix linting issues met Prettier
This commit is contained in:
		
							parent
							
								
									4f67b1e9fe
								
							
						
					
					
						commit
						53cec2a3c4
					
				
					 5 changed files with 21 additions and 37 deletions
				
			
		|  | @ -1,4 +1,4 @@ | ||||||
| import {createRouter, createWebHistory} from "vue-router"; | import { createRouter, createWebHistory } from "vue-router"; | ||||||
| import MenuBar from "@/components/MenuBar.vue"; | import MenuBar from "@/components/MenuBar.vue"; | ||||||
| import StudentHomepage from "@/views/homepage/StudentHomepage.vue"; | import StudentHomepage from "@/views/homepage/StudentHomepage.vue"; | ||||||
| import SingleAssignment from "@/views/assignments/SingleAssignment.vue"; | import SingleAssignment from "@/views/assignments/SingleAssignment.vue"; | ||||||
|  | @ -34,7 +34,7 @@ const router = createRouter({ | ||||||
|         { |         { | ||||||
|             path: "/user", |             path: "/user", | ||||||
|             component: MenuBar, |             component: MenuBar, | ||||||
|             meta: {requiresAuth: true}, |             meta: { requiresAuth: true }, | ||||||
|             children: [ |             children: [ | ||||||
|                 { |                 { | ||||||
|                     path: "home", |                     path: "home", | ||||||
|  | @ -63,43 +63,43 @@ const router = createRouter({ | ||||||
|             path: "/assignment/create", |             path: "/assignment/create", | ||||||
|             name: "CreateAssigment", |             name: "CreateAssigment", | ||||||
|             component: CreateAssignment, |             component: CreateAssignment, | ||||||
|             meta: {requiresAuth: true}, |             meta: { requiresAuth: true }, | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             path: "/assignment/:id", |             path: "/assignment/:id", | ||||||
|             name: "SingleAssigment", |             name: "SingleAssigment", | ||||||
|             component: SingleAssignment, |             component: SingleAssignment, | ||||||
|             meta: {requiresAuth: true}, |             meta: { requiresAuth: true }, | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             path: "/class/create", |             path: "/class/create", | ||||||
|             name: "CreateClass", |             name: "CreateClass", | ||||||
|             component: CreateClass, |             component: CreateClass, | ||||||
|             meta: {requiresAuth: true}, |             meta: { requiresAuth: true }, | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             path: "/class/:id", |             path: "/class/:id", | ||||||
|             name: "SingleClass", |             name: "SingleClass", | ||||||
|             component: SingleClass, |             component: SingleClass, | ||||||
|             meta: {requiresAuth: true}, |             meta: { requiresAuth: true }, | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             path: "/discussion/create", |             path: "/discussion/create", | ||||||
|             name: "CreateDiscussion", |             name: "CreateDiscussion", | ||||||
|             component: CreateDiscussion, |             component: CreateDiscussion, | ||||||
|             meta: {requiresAuth: true}, |             meta: { requiresAuth: true }, | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             path: "/discussion/:id", |             path: "/discussion/:id", | ||||||
|             name: "SingleDiscussion", |             name: "SingleDiscussion", | ||||||
|             component: SingleDiscussion, |             component: SingleDiscussion, | ||||||
|             meta: {requiresAuth: true}, |             meta: { requiresAuth: true }, | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             path: "/:catchAll(.*)", |             path: "/:catchAll(.*)", | ||||||
|             name: "NotFound", |             name: "NotFound", | ||||||
|             component: NotFound, |             component: NotFound, | ||||||
|             meta: {requiresAuth: true}, |             meta: { requiresAuth: true }, | ||||||
|         }, |         }, | ||||||
|     ], |     ], | ||||||
| }); | }); | ||||||
|  |  | ||||||
|  | @ -1,11 +1,7 @@ | ||||||
| <script setup lang="ts"> | <script setup lang="ts"></script> | ||||||
| 
 |  | ||||||
| </script> |  | ||||||
| 
 | 
 | ||||||
| <template> | <template> | ||||||
| <main></main> |     <main></main> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
| <style scoped> | <style scoped></style> | ||||||
| 
 |  | ||||||
| </style> |  | ||||||
|  |  | ||||||
|  | @ -1,11 +1,7 @@ | ||||||
| <script setup lang="ts"> | <script setup lang="ts"></script> | ||||||
| 
 |  | ||||||
| </script> |  | ||||||
| 
 | 
 | ||||||
| <template> | <template> | ||||||
| <main></main> |     <main></main> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
| <style scoped> | <style scoped></style> | ||||||
| 
 |  | ||||||
| </style> |  | ||||||
|  |  | ||||||
|  | @ -1,11 +1,7 @@ | ||||||
| <script setup lang="ts"> | <script setup lang="ts"></script> | ||||||
| 
 |  | ||||||
| </script> |  | ||||||
| 
 | 
 | ||||||
| <template> | <template> | ||||||
| <main></main> |     <main></main> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
| <style scoped> | <style scoped></style> | ||||||
| 
 |  | ||||||
| </style> |  | ||||||
|  |  | ||||||
|  | @ -1,11 +1,7 @@ | ||||||
| <script setup lang="ts"> | <script setup lang="ts"></script> | ||||||
| 
 |  | ||||||
| </script> |  | ||||||
| 
 | 
 | ||||||
| <template> | <template> | ||||||
| <main></main> |     <main></main> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
| <style scoped> | <style scoped></style> | ||||||
| 
 |  | ||||||
| </style> |  | ||||||
|  |  | ||||||
		Reference in a new issue
	
	 Lint Action
						Lint Action