Open chouchouji opened 4 hours ago
I thinks this project is lack configuration for code format, I suggest that #188 only format the modified code, and then we can ad a format configuration for the project ,and format all code.
I thinks this project is lack configuration for code format, I suggest that #188 only format the modified code, and then we can ad a format configuration for the project ,and format all code.
Thanks for your reply. I only format the modified code like other for that pr. What format configuration do you want to add? Prettier?
Prettier is OK, Do you want PR for this ?
Prettier is OK, Do you want PR for this ?
Yes, I will submit a pr today.
Question
I found that I can't format code when I am working for #188. I try to format code(my default formatter is
prettier
), one of the results is that single quotes are turned into double quotes. So, I want to know the way of formating code. Thanks !Link
https://github.com/user-attachments/assets/76440088-54e6-4cdb-9ddb-77d91edeab07