Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: correct detection of runes mode in parsed files #636

Merged
merged 4 commits into from
Jan 13, 2025

Conversation

baseballyama
Copy link
Member

This PR corrects the approach used in #633, where static analysis relied on the AST of the template section to detect runes, which was entirely unnecessary. The new implementation performs static analysis on the final AST instead.

Copy link

changeset-bot bot commented Jan 12, 2025

🦋 Changeset detected

Latest commit: c676177

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

This PR includes changesets to release 1 package
Name Type
svelte-eslint-parser Patch

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

Copy link

pkg-pr-new bot commented Jan 12, 2025

Open in Stackblitz

npm i https://pkg.pr.new/svelte-eslint-parser@636

commit: c676177

@coveralls
Copy link

coveralls commented Jan 12, 2025

Pull Request Test Coverage Report for Build 12734289721

Details

  • 24 of 24 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.01%) to 94.726%

Totals Coverage Status
Change from base Build 12731376803: 0.01%
Covered Lines: 10321
Relevant Lines: 10773

💛 - Coveralls

@baseballyama baseballyama merged commit 78f2923 into main Jan 13, 2025
13 checks passed
@baseballyama baseballyama deleted the fix/detect-runes branch January 13, 2025 00:35
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.

2 participants