bcgov/vue3-scaffold

View on GitHub
frontend/src/store/authStore.ts

Summary

Maintainability
A
3 hrs
Test Coverage
F
17%

Showing 1 of 1 total issue

Function useAuthStore has 77 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const useAuthStore = defineStore('auth', () => {
const configService = new ConfigService();
const authService = new AuthService();
const userManager = authService.getUserManager();
 
 
Severity: Major
Found in frontend/src/store/authStore.ts - About 3 hrs to fix
    Category
    Status