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

Support svelte parser #42

Closed
ony3000 opened this issue Mar 15, 2024 · 3 comments · Fixed by #62
Closed

Support svelte parser #42

ony3000 opened this issue Mar 15, 2024 · 3 comments · Fixed by #62
Assignees
Labels
enhancement New feature or request type: new language

Comments

@ony3000
Copy link
Owner

ony3000 commented Mar 15, 2024

No description provided.

@ony3000 ony3000 added enhancement New feature or request type: new language labels Mar 15, 2024
@ony3000 ony3000 self-assigned this Mar 15, 2024
@sxxov
Copy link

sxxov commented Apr 10, 2024

Is there a list of things that need to be implemented before svelte can be supported? Would love to help/contribute.

@ony3000
Copy link
Owner Author

ony3000 commented Apr 10, 2024

I don't have a list, but I would like to complete the following tasks before supporting the new parser:

  • Reinforce testing of existing parsers and determine formatting policies (currently in progress)
  • Refactoring of core parts
    • Modify the ClassNameType enum to be a combination of multiple properties
      (It feels similar to combining Tailwind CSS utility classes.)
    • Improve the process of finding class names in AST and wrapping them
      (I'm considering something like introducing an abstract class, but haven't thought about it in more detail.)

@ony3000
Copy link
Owner Author

ony3000 commented May 9, 2024

Recent updates:

  • As part of the core parts refactoring plan, modifications to the ClassNameType enum are complete.
  • I decided to postpone improving the process of finding class names in AST and wrapping them around lines because no specific plan has been decided.
  • Reinforce testing of existing parsers and determining formatting policies are almost complete.

@ony3000 ony3000 mentioned this issue May 31, 2024
@ony3000 ony3000 linked a pull request May 31, 2024 that will close this issue
@ony3000 ony3000 closed this as completed May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request type: new language
Projects
Development

Successfully merging a pull request may close this issue.

2 participants