-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Javascript Layer - jsbeautify editorconfig conflicts #4211
Comments
It would be much more helpful if you can give us more informations. See this. |
DescriptionWith editorconfig installed, jsbeautify ignores formatting rules set in the '.editorconfig' file. For example if you have tabs set to 2 spaces in .editorconfig file and you press 'SPC m =', jsbeautify will ignore the rules set in the editorconfig. Indentation with with 'SPC j =' does use the correct indent rules from editorconfig. Reproduction guide
System Info
(auto-completion better-defaults emacs-lisp git markdown org syntax-checking version-control osx javascript themes-megapack react) |
Nevermind, I looked in the code, it's the |
Looks like someone else had the same idea |
Option support for editorconfig has been added to js-beautify: beautifier/js-beautify@9e2dcca |
@Delapouite thanks for heads up! Closing this issue as fixed upstream. |
This might be out of scope since editorconfig is not a layer anymore.
This issue is that when editorconfig is being used jsbeautify I believe editorconfig configuration should override whatever default jsbeautify indents and formatting are. Looking for input and thoughts on this. If this sounds reasonable I could probably hack it in. Thanks
The text was updated successfully, but these errors were encountered: