bcgov/vue3-scaffold

View on GitHub
frontend/src/router/index.ts

Summary

Maintainability
A
1 hr
Test Coverage

Showing 1 of 1 total issue

Function getRouter has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function getRouter() {
const appStore = useAppStore();
const authService = new AuthService();
const router = createRouter({
history: createWebHistory(),
Severity: Minor
Found in frontend/src/router/index.ts - About 1 hr to fix
    Category
    Status