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
This appears to be because of switching to js2-mode from js2-jsx-mode, as when I recompile the package using js2-jsx-mode everything goes back to normal and my editorconfig settings are respected.
The text was updated successfully, but these errors were encountered:
This appears to be because of switching to js2-mode from js2-jsx-mode, as when I recompile the package using js2-jsx-mode everything goes back to normal and my editorconfig settings are respected.
Could you share the workarround, please?
It looks like it's going to take some time until next release.
The reason this is happening is because rjsx-mode uses sgml-basic-offset instead of js2-basic-offset to indent JSX. As a workaround you can set both of them to the same value and it should work.
This appears to be because of switching to
js2-mode
fromjs2-jsx-mode
, as when I recompile the package usingjs2-jsx-mode
everything goes back to normal and myeditorconfig
settings are respected.The text was updated successfully, but these errors were encountered: