Skip to content

Conversation

@DylanPiercey
Copy link
Contributor

Description

Previously a parse error was thrown when a statement (eg import, export) had indented content.
Now instead of throwing an error the parser will continue while indented for these statements.

Motivation and Context

Resolves marko-js/prettier#55

@changeset-bot
Copy link

changeset-bot bot commented Jul 12, 2025

🦋 Changeset detected

Latest commit: bafe713

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
htmljs-parser Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@DylanPiercey DylanPiercey force-pushed the indented-statements branch from ee8e7b5 to bafe713 Compare July 12, 2025 04:43
@DylanPiercey DylanPiercey merged commit 22bfdda into main Jul 12, 2025
9 checks passed
@DylanPiercey DylanPiercey deleted the indented-statements branch July 12, 2025 04:45
@github-actions github-actions bot mentioned this pull request Jul 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Long Type/Interface definitions that wrap cause linting errors

2 participants