Add Prettier and ESLint tooling (Refs #77)

This commit is contained in:
2026-10-09 15:56:13 -04:00
parent 8ed059b8d3
commit 16469e2d43
711 changed files with 99737 additions and 28286 deletions
+5 -2
View File
@@ -7,7 +7,7 @@ a small Python agent.
![Fleet overview showing sample T5 and T6 lobbies, player counts, and match rounds](docs/assets/fleet.png)
*Fleet overview with sample data.*
_Fleet overview with sample data._
## Features
@@ -58,7 +58,7 @@ doesn't need a Docker socket or direct access to your game-server files.
## Development
The controller uses SvelteKit, TypeScript, and SQLite. The host agent uses the
Python 3 standard library. For local development, install Node.js 22.12+ and Python 3:
Python 3 standard library. For local development, install Node.js 22.13+ and Python 3:
```sh
npm ci
@@ -72,8 +72,11 @@ database defaults to `./data/cherry.db`; keep it separate from production data.
`npm run dev` packages the downloadable agent before starting the server.
```sh
npm run lint
npm run check
npm test
npm run test:agent
npm run build
```
Run `npm run format` to apply the repository's Prettier formatting.