Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
import withNuxt from './.nuxt/eslint.config.mjs'

export default withNuxt(
// Copied byte for byte from the starter (see tests/fixtures/starter/README.md): reformatting it would hide drift.
{ ignores: ['tests/fixtures/starter/**'] },
{
rules: {
'no-console': 'warn',
Expand Down
8 changes: 8 additions & 0 deletions tests/fixtures/starter/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Starter fixtures

`embed.ts` is a byte-for-byte copy of the browser client every site delivered by Contentrain Migrate
ships (`packages/writer/starter/src/lib/studio/embed.ts` in the migrate repo, emitted from
`@contentrain/emitter-astro`). `tests/integration/starter-form-contract.integration.test.ts` runs it against
Studio's real public forms routes, so a change to either side that breaks the other fails here.

Refresh it by copying the file again when the starter's client changes; do not edit it in place.
Loading
Loading