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

chore(js/ts): allow ellipses to occur in jsx elements #488

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

brandonspark
Copy link
Contributor

As title

This PR also fixes the Makefile to also include the name of the dialect that it is dealing with. Previously it only printed the PWD.

Security

  • Change has no security implications (otherwise, ping the security team)

@brandonspark brandonspark requested a review from a team as a code owner June 25, 2024 22:05
@brandonspark brandonspark requested review from aryx, IagoAbal and mjambon and removed request for a team June 25, 2024 22:05
Copy link
Collaborator

@aryx aryx left a comment

Choose a reason for hiding this comment

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

LGTM.
Actually we currently have some implicit "..." in JSX attributes; even if you don't
use a ..., we match like there is some "...". I always wanted to force people
to add "...", to be more consistent, but never took the time because of fear of breaking existing rules.

Nore sure what's going on with CI though.
maybe @mjambon know.

@brandonspark
Copy link
Contributor Author

@aryx i believe it's spurious, see the job:
image

@aryx aryx merged commit 3a648e5 into main Jun 27, 2024
2 of 3 checks passed
@aryx aryx deleted the brandon/ellipses-in-jsx branch June 27, 2024 16:30
mjambon added a commit that referenced this pull request Sep 13, 2024
because the corresponding changes weren't made in semgrep
mjambon added a commit that referenced this pull request Sep 13, 2024
because the corresponding changes weren't made in semgrep
mjambon added a commit that referenced this pull request Sep 17, 2024
because the corresponding changes weren't made in semgrep
mjambon added a commit that referenced this pull request Sep 18, 2024
* Use new OCaml code generator and runtime with support for extras

* Add lists of languages that need this or that version of tree-sitter.

* Fix gitignore

* Update core submodule

* Add missing languages to lists of languages

* Add missing language

* Restore version of tree-sitter-julia supported by semgrep

* Update core, requires regenerating all languages

* Add lists of languages for the 'release' command

* Add readme

* Undo PR #488
because the corresponding changes weren't made in semgrep

* Revert 2 recent semgrep-go commits by Brandon and Yosef because
the accompanying changes in semgrep are not ready.
We're reverting the contents of semgrep-go to
commit 9b59bf4

* Update core

* Promote html parser from tree-sitter 0.20.6 to 0.22.6

* Use a patched version of tree-sitter-vue that avoids HTML parsing errors
in programs where both semgrep-vue and semgrep-html are used.

* Add safeguard against running into the same tree-sitter-vue issue again

* Update core
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants