You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, what this extension does is get each attribute and swap each catch with the catch value with a \n on the catch's beginning with the RegExp \w+=[{|'|"] (actual implementation).
The problem is, right now I don't know any way to get the boolean values without getting things that I shouldn't. Look the current implementation: http://rubular.com/r/wl5G5a9W7y
If you know some RegExp that can catch just the attribute's beginning on the scenario above, I'll gladly fix this.
About the position of the closing bracket, please create another issue to keep this focused. I have an idea to create a config for this.
<Route exact path="/" component={Home} />
for example becomes
instead of
also I really think that the closing bracket should be at the same column as the opening tag, as in eslint rule for jsx-closing-bracket-location
The text was updated successfully, but these errors were encountered: