- packages/shared (@nerdware/shared): domain model (Room, Player, Settings, Round, votes, scores) + fully typed Socket.IO events, consumed as source - apps/server (@nerdware/server): Fastify boot + /health, typed Socket.IO attached to the HTTP server, env config, graceful shutdown - gitignore: allow .env.example to be committed Roadmap V1 step 1. Room logic (room:create/join) comes next. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
15 lines
381 B
JavaScript
15 lines
381 B
JavaScript
import js from "@eslint/js"
|
|
import globals from "globals"
|
|
import tseslint from "typescript-eslint"
|
|
import { defineConfig, globalIgnores } from "eslint/config"
|
|
|
|
export default defineConfig([
|
|
globalIgnores(["dist"]),
|
|
{
|
|
files: ["**/*.ts"],
|
|
extends: [js.configs.recommended, tseslint.configs.recommended],
|
|
languageOptions: {
|
|
globals: globals.node,
|
|
},
|
|
},
|
|
])
|