Open ariataylor96 opened 5 years ago
What versions of each package are you using? What version of emacs?
Might be a duplicate of #85
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.
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.