Hyeonjong

Results 45 comments of Hyeonjong

Hello everyone! I may have found this thread a little late, but there is a [prettier plugin](https://www.npmjs.com/package/prettier-plugin-classnames) that I released last year. Maybe this will help.

@u3u Currently supported for JavaScript, TypeScript, and Vue code. As you can see in the last section of the README, [prettier-plugin-merge](https://www.npmjs.com/package/prettier-plugin-merge) is additionally required to apply the two plugins sequentially,...

I tried upgrading to the `18.3.0-canary-fda1f0b90-20230509` version, but the issue still exists.

In my case, [I manually modified the yarn.lock file](https://github.com/ony3000/my-to-do/commit/a75669025718390999a80c68df768e9e50e59ca3) by referring to the https://github.com/Hacker0x01/react-datepicker/issues/3708#issuecomment-1232584412, and after running the `yarn` command once, the type error was gone.

I think this issue may be related to #411. When I applied Prettier to the following code, the beginning of the second `prettier-ignore` comment disappeared. ``` if (condition1) { foo...

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...

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...

I think it would be better to leave the issue open so that visitors can be more aware of how to use the plugin.

@dprkh Have you checked the [Ending Position](https://github.com/ony3000/prettier-plugin-classnames#ending-position) option? When this option is set to default(`relative`), line breaks are performed only for class names without considering the length of the code....

Ah! The name that this plugin considers to be the default attribute for jsx (and tsx) is `className`. So, in your case the `customAttributes: ["class"]` setting (`--custom-attributes=class` if you are...