Skip to content

SONARARMOR-680 StandaloneParser supports filename usage. #5146

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

Conversation

renaud-tognelli-sonarsource
Copy link
Contributor

@renaud-tognelli-sonarsource renaud-tognelli-sonarsource commented Feb 28, 2025

SONARARMOR-680

In Sonar Jasmin,
we have some its failing because typescript files are parsed as JS files.

During its We would like to have the option to send the actual filename to the wonderful StandaloneParser 🤩

Specifically this will allow parsing of typecsript type assertions like let a=<T>42

Copy link

Copy link
Contributor

@vdiez vdiez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@renaud-tognelli-sonarsource renaud-tognelli-sonarsource merged commit 22493d6 into master Feb 28, 2025
20 of 21 checks passed
@renaud-tognelli-sonarsource renaud-tognelli-sonarsource deleted the renaud/SONARARMOR-680-typescript-type-assertions branch February 28, 2025 09:40
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