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(formats): handle DTCG-format tokens in javascript/es6 #1404

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

tkgroot
Copy link
Contributor

@tkgroot tkgroot commented Dec 9, 2024

Issue #, if available:

Description of changes:

the current "javascript/es6" formatter does not handle DTCG formatted tokens, namely the comment or $description attribute of a token.

  • update snapshots
  • fix issue in javascript/es6 formatter and add handling DTCG tokens
  • update tests

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@tkgroot tkgroot requested a review from a team as a code owner December 9, 2024 15:04
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-1404.d16eby4ekpss5y.amplifyapp.com

@jorenbroekema
Copy link
Collaborator

Nice thanks, could you add a changeset with npx changeset? a patch will do

dbanksdesign
dbanksdesign previously approved these changes Dec 9, 2024
@tkgroot tkgroot force-pushed the fix/dtcg-es6Constants-formatter branch 2 times, most recently from ac93a1b to 89b0b79 Compare December 9, 2024 18:35
- update snapshots
- fix issue in javascript/es6 formatter and add handling DTCG tokens
- update tests

Signed-off-by: Tobias Kuppens Groot <[email protected]>
@tkgroot tkgroot force-pushed the fix/dtcg-es6Constants-formatter branch from 89b0b79 to fd8cdb4 Compare December 9, 2024 18:39
@tkgroot
Copy link
Contributor Author

tkgroot commented Dec 9, 2024

added a changeset and rebased onto latest of main

@jorenbroekema jorenbroekema merged commit beea34f into amzn:main Dec 10, 2024
6 checks passed
@tkgroot tkgroot deleted the fix/dtcg-es6Constants-formatter branch December 10, 2024 22:47
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.

3 participants