chore: add EditorConfig, Prettier, and ESLint across all three projects#67
Merged
Conversation
Adds shared editor/format/lint conventions for the root Worker, the SvelteKit dashboard, and the GitHub Action, each keeping its own Prettier/ESLint devDependencies and config since the three are independent npm projects with no workspaces. Wires lint and format-check steps into the existing CI jobs (no new jobs, no duplicated checkout/install work) and applies a one-time repo-wide --fix/--write pass. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
demo-coveragetracker-dev | 9771236 | Commit Preview URL Branch Preview URL |
Jul 12 2026, 12:58 AM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.editorconfig, Prettier, and ESLint (flat config, non-type-checkedrecommended) to the root Wrangler Worker, the SvelteKit dashboard, and the GitHub Action — each keeps its own Prettier/ESLint devDependencies and config since the three are independent npm projects with no workspaces.lintandformat:checksteps into the existingci.ymljobs (test-e2e,backend-coverage) andaction-test.yml, with no new CI jobs and no duplicated checkout/setup-node/npm ciwork.eslint --fix+prettier --writepass (mostly whitespace/quote-style/line-wrap reformatting), plus a couple of real fixes surfaced along the way:.github/actions/report/src/complexity/detect.ts: literal BOM character in a regex replaced with theescape sequence.dashboard/src/routes/+layout.svelte: Svelte 5 reactive-dependency reads now use the existingvoid x;convention (matchingTrendChart.svelte/MultiSparkLine.svelte) instead ofeslint-disablecomments.eslint.config.mjs: fixed a lint-coverage gap where.github/scripts/*.mjswas silently skipped (ESLint's CLI doesn't traverse dot-directories via a bare.— needed an explicit glob).docs/plans/consumer-generated-reports-migration-plan-v3.md: restored two nested markdown lists that a reproducible Prettier formatter bug was collapsing into run-on paragraphs; wrapped both in<!-- prettier-ignore -->so they stay stable across future format runs.Test plan
npm run lint/format:check/typecheck/test:coveragepass at repo rootnpm run lint/format:check/typecheckpass indashboard/npm run lint/format:check/typecheck/testpass in.github/actions/report/npm run buildin.github/actions/report/still produces a workingdist/index.jsci.yml,action-test.yml)🤖 Generated with Claude Code