feat: scaffold vite react app and configure web package

This commit is contained in:
lila 2026-03-21 11:59:52 +01:00
parent a0f008be74
commit 1765923cb6
26 changed files with 1994 additions and 27 deletions

17
apps/web/eslint.config.js Normal file
View file

@ -0,0 +1,17 @@
import reactHooks from "eslint-plugin-react-hooks";
import reactRefresh from "eslint-plugin-react-refresh";
import { defineConfig, globalIgnores } from "eslint/config";
export default defineConfig([
globalIgnores(["dist"]),
{
files: ["**/*.{ts,tsx}"],
extends: [reactHooks.configs.flat.recommended, reactRefresh.configs.vite],
languageOptions: {
parserOptions: {
project: "./tsconfig.app.json",
tsconfigRootDir: import.meta.dirname,
},
},
},
]);