feat: Migrate ESLint to flat config and resolve initial linting errors

Migrated the ESLint configuration to the new flat config format ()
and addressed several initial linting errors.

Key changes include:
- Updated ESLint configuration to treat  as warnings instead of errors.
- Fixed  errors in  by declaring  and .
- Corrected  error in  by using  instead of an out-of-scope .
- Resolved  error in  by replacing the undefined  directive with the  component.
- Addressed  errors in  by replacing  with  and  with .
- Fixed  errors in  by importing necessary modules (, , ) and adding missing props (, , , , ).
This commit is contained in:
Scott Idem
2025-11-17 18:46:54 -05:00
parent b99e85f1db
commit 7e1eaba3bc
374 changed files with 95654 additions and 93952 deletions

View File

@@ -1,18 +1,18 @@
import { test, expect } from '@playwright/test';
test('homepage has title and link', async ({ page }) => {
await page.goto('http://scott.localhost:5173/');
await page.goto('http://scott.localhost:5173/');
// Expect a title "to contain" a substring.
await expect(page).toHaveTitle(/SvelteKit/);
// Expect a title "to contain" a substring.
await expect(page).toHaveTitle(/SvelteKit/);
});
test('get started link', async ({ page }) => {
await page.goto('http://localhost:4173/');
await page.goto('http://localhost:4173/');
// Click the get started link.
await page.getByRole('link', { name: 'Docs' }).click();
// Click the get started link.
await page.getByRole('link', { name: 'Docs' }).click();
// Expects page to have a heading with the name of Installation.
await expect(page.getByRole('heading', { name: 'Welcome' })).toBeVisible();
// Expects page to have a heading with the name of Installation.
await expect(page.getByRole('heading', { name: 'Welcome' })).toBeVisible();
});