feat(client): setup formatting

- Installed @antfu/eslint-config for formatting
- Installed lint-staged for pre-commit formatting compliance

Signed-off-by: Noa Virellia <noa@requiem.garden>
This commit is contained in:
2025-12-19 15:25:17 +08:00
committed by Asai Neko
parent 1302a5ea03
commit f5a811a6a2
9 changed files with 532 additions and 31 deletions

View File

@@ -1,5 +1,5 @@
function App() {
return <p>Hello world</p>
return <p>Hello world</p>;
}
export { App }
export { App };

View File

@@ -1,9 +1,9 @@
import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import { App } from './App.tsx'
import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import { App } from './App.tsx';
createRoot(document.getElementById('root')!).render(
<StrictMode>
<App />
</StrictMode>,
)
);