flisk create: the generated web app fails its own 'bun run lint' on a fresh scaffold (react: 8 errors + 4 warnings, vanilla: 7 errors)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
- #169 di @CrowAleksito — chiusa senza merge
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 55/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- bun, eslint, react, typescript, vite
Direzione di ricerca
Start by reading the frontend scaffold templates and the flisk create flow that selects among the 10 frameworks; the issue names generated files such as src/App.tsx, src/main.tsx and vite.config.ts. Run bun run lint on fresh React, vanilla and Preact scaffolds to reproduce the reported failures, then check every framework. Done when fresh scaffolds pass with zero errors and warnings and CI creates, installs and lints each one.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
flisk create <name> --frontend react --backend none --yes generates a web/ app whose own bun run lint (Biome) fails on a fresh, untouched scaffold: exit 1 with 8 errors and 4 warnings. The template does not pass the linter it ships.
Before (measured, flisk 1.4.73, Bun 1.4.4, bun install then bun run lint, no edits)
| Frontend | bun run lint |
Findings |
|---|---|---|
| react | exit 1 | 8 errors, 4 warnings (Checked 9 files) |
| vanilla | exit 1 | 7 errors |
| preact | exit 1 | fails before any build |
Examples from react: src/App.tsx:3:7 noUnusedVariables ("This variable card is unused", same for page and muted: three style constants declared on lines 1-3 and never used), src/main.tsx:5:21 noNonNullAssertion, vite.config.ts:1:1 assist/organizeImports. |
||
bun run lint:fix rewrites 7 files, then lint still reports 4 warnings (the unused constants), so the project never reaches a clean state without hand edits. |
After (expected)
bun run lint exits 0 on the generated project with 0 errors and 0 warnings, for each of the 10 frontend frameworks. The unused page/muted/card constants are removed or used, imports are organized, and the ! assertion is replaced.
Acceptance criteria
- After
flisk create+bun install,bun run lintprints no errors for all 10 frameworks - CI step in flisk-cli runs create + install + lint for each framework
- No
lint:fixneeded to get a green first run
Related
#112 (the same projects' bun run test fails on Bun 1.4.4); #130 (local create writes 314 files, 2.7 MB, of which only 10 are the web app).
- Lingua principale
- TypeScript
- Stelle
- 1
- Fork
- 2
- Merge medio
- 11h 39m
- PR unite (30g)
- 92
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di flisk-sh/flisk-cli
-
area: infrastructure community docs docs-mismatch documentation dogfood dx good first issue has-repro priority:low small-fix
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
area: cli dogfood dx enhancement error-messages good first issue has-repro misleading-message priority:low small-fix tdd tech: typescript
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
flisk-sh/flisk-cli#196 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area: cli discoverability docs-mismatch dogfood dx enhancement good first issue has-repro priority:low small-fix tdd tech: typescript
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
flisk-sh/flisk-cli#195 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area: cli bug discoverability docs-mismatch documentation dogfood error-messages has-repro misleading-message priority:medium small-fix
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
area: cli bug dx good first issue has-repro needs-test priority:medium small-fix
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
flisk-sh/flisk-cli#176 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di flisk-sh/flisk-cli
Issue simili
-
accessibility area:ci ci-test level:low priority:high type:test
Difficoltà 2/5 1-3 ore Idoneità per principianti 71/100
skytuhua-org/Gen-V1#3132 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
drmrd/vernacular#1238 ·
I maintainer di solito rispondono entro 1 giorno
-
question
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
enhancement migration-prioritized
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Hudson-Pufferfish/local-party-console#136 ·
I maintainer di solito rispondono entro 1 giorno
-
priority:medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno