ESLint: A space is required before closing bracket (react/jsx-tag-spacing)

Hi,

 

When Importing code style from ESLint  could you please add import parameter "Code Style -> HTML -> Other -> Spaces -> In empty tag"

In order to solve the error "ESLint: A space is required before closing bracket (react/jsx-tag-spacing)"

More details in the "Add space in self closing tags before in self closing tags"

 

Thank you in advance,

Vlad

2

Please vote for https://youtrack.jetbrains.com/issue/WEB-28857 to be notified on any progress with this feature

0
Avatar
Permanently deleted user

I can't find a way to do this in WebStorm internal styling tools.

0

It's Settings | Editor | Code Style | HTML | Other, In empty tag

 

12

请先登录再写评论。