Adds in initial migration, recommends ESLint VS Code extension and sets up defaults to format with ESLint on save and use ESLint as the general formatter

This commit is contained in:
Cameron Redmore 2025-04-25 08:48:14 +01:00
parent 86967b26cd
commit a857c3da07
9 changed files with 217 additions and 219 deletions

View file

@ -43,7 +43,7 @@ export default defineRouter(function({ store /* { store, ssrContext } */ })
}
catch (e)
{
console.error('Initial auth check failed', e);
// console.error('Initial auth check failed', e);
// Decide how to handle initial check failure (e.g., proceed, redirect to error page)
}
}

View file

@ -29,7 +29,7 @@ export const useAuthStore = defineStore('auth', {
}
catch (error)
{
console.error('Failed to check authentication status:', error);
// console.error('Failed to check authentication status:', error);
this.error = 'Could not verify login status.';
this.isAuthenticated = false;
this.user = null;